你能告诉我 Vi 和 Vim 之间的关系和区别吗

发布于 2024-12-01 08:58:43 字数 114 浏览 1 评论 0原文

我在实验室经常看到Vim,但我也知道Vi,但我从来没有机会使用它,我用google搜索它,但我找不到下载Vi的网站。你能告诉我 Vi 和 Vim 之间的关系和区别吗?如果可以的话,给我一个 Vi 的下载地址。谢谢!

I often see Vim in my lab, but I also know Vi, but I never have a chance to use it, I search for it by using google, but I can't get a website to download Vi. Can you show me the relationships and differences between Vi and Vim, if possible, give me a url to download the Vi. Thanks!

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

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

发布评论

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

评论(4

沐歌 2024-12-08 08:58:44

不管其他人怎么说,Vim 不是 Vi 的增强版本,也不是扩展。看起来可能是这样,因为默认情况下 Vim 被设计为尽可能与 Vi 兼容(在 Vi 兼容模式下更是如此)。过去获取 Vi 源代码需要 Unix 源代码许可证,并且由于需要附加功能,Vim 是独立于 Vi 开发的。它更准确地称为克隆,它具有附加功能。

Vim 是许多 *nix 系统上的标准编辑器。 “程序”vi 通常只是 vim 的符号链接。抛开历史利益不谈,我想不出使用 Vi 的令人信服的理由。 Vim 更加现代,您不需要的任何功能都可以禁用,或者不编译对它们的支持。

您可以在此处下载 vi 的源代码: http://ex-vi.sourceforge.net/

Despite what others have said, Vim is not an enhanced version of Vi, nor is it an extension. It might seem that way because Vim was designed to be, by default, as compatible with Vi as possible (even more so in Vi-compatible mode). Obtaining Vi source code used to required a Unix source code license, and since additional features were desired, Vim was developed independently of Vi. It is more properly called a clone, which has additional features.

Vim is the standard editor on many *nix systems. The "program" vi is often just a symlink to vim. Historical interests aside, I can't think of a compelling argument for using Vi. Vim is much more modern, and any features you don't want can be disabled, or support for them not compiled in.

You can download the source for vi here: http://ex-vi.sourceforge.net/

流殇 2024-12-08 08:58:44

Vim 是 Vi 的增强版本,具有额外的功能。如果您知道如何使用 Vi,那么使用 Vim 就不会有困难,因为您了解基础知识。有时习惯 Vim 的人在使用 Vi 时会遇到麻烦,因为它没有 Vim 的所有额外功能。

Vim is an enhanced version of Vi with extra features. If you know how to use Vi, you won't have trouble using Vim, since you know the basics. Sometimes people used to Vim have trouble with Vi as it doesn't have all the extra features as Vim.

标点 2024-12-08 08:58:44

Vim 有一个称为“兼容”的选项,它使 vim 的行为几乎与 vi 完全相同。请参阅 :help '兼容 了解更多信息。

Vim has an option called compatible that makes vim behave nearly exactly like vi. See :help 'compatible for more information.

追我者格杀勿论 2024-12-08 08:58:44

VIM 是 Vi 的改进版。 VIM 基本上是 Vi 的扩展。我会学习 VIM 而不是 Vi,因为它对很多事情来说都太难了。优点是如果你会使用 Vim,你就可以使用 Vi,只是语法高亮等额外的时髦东西会丢失。

有关两者历史的更多详细信息,请参阅维基百科:http://en.wikipedia.org/wiki/Vi & http://en.wikipedia.org/wiki/Vim_(text_editor)

这是一个很好的 Vi 指南,包括如何为您的发行版安装:http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html

VIM is Vi iMproved. VIM is basically an extension of Vi. I would learn VIM not Vi as it just gets too hard for many things. The advantage is if you can use Vim you can use Vi, just the extra snazzy stuff like syntax highlighting etc will be missing.

See wikipedia for more details on the history of the two: http://en.wikipedia.org/wiki/Vi & http://en.wikipedia.org/wiki/Vim_(text_editor)

Here is a good guide to Vi including how to install for your distro: http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html

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