vi 中的语法高亮

发布于 2024-09-06 12:19:47 字数 199 浏览 4 评论 0原文

vi 上有语法高亮吗?我在 windows xp 中通过 putty 并使用 vi sshing 到 AIX 框。我想知道 vi 中是否有语法突出显示功能。(我的 google-fu 失败了,因为与 vi 有关的所有结果都指向 vim)。如果存在,是否可以在 putty 中获取颜色?(但我对此表示怀疑,因为通过 ssh 发送颜色信息将是额外的开销。)。任何帮助将不胜感激。提前致谢。

Is syntax highlighting there on vi?. I am sshing to an AIX box via putty in windows xp and using vi. I would like to know if there is syntax highlighting feature in vi.(My google-fu failed as all the results pertaining to vi point to vim). If this exists, Is it possible to get the colors in putty?.(I doubt it though, as sending the color information via ssh would be an additional overhead. ). Any help would be much appreciated. Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

绝影如岚 2024-09-13 12:19:48

不,语法高亮是 vim 的扩展。

No, syntax highlighting is a vim extension.

dawn曙光 2024-09-13 12:19:47

真正的 vi 及其精确克隆不支持语法突出显示。这就是为什么你的 Google 查询都以 vim 结束,而 vim 确实支持它。

顺便说一句,我一直使用 vim 而不是 ssh,突出显示的信息不会影响可用性或屏幕更新速度。

Real vi and its exact clones did not support syntax highlighting. That is the reason why your Google queries all ended at vim, which does support it.

Incidentally, I use vim over ssh all the time and the highlighting information does not impact the usability or screen update speed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文