What is the difference between vim and vi in ​​linux?
PHP中文网
PHP中文网 2017-05-16 16:38:27
0
6
813

vi is the most commonly used, what are the benefits of vim.

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(6)
左手右手慢动作

Vim is a text editor developed from vi. It is particularly rich in functions that facilitate programming, such as code completion, compilation, and error jumping, and is widely used among programmers. Tied with Emacs to become the most favorite editor for users of Unix-like systems.

洪涛

vim = Vi IMproved

Now many distributions directly use vi做成vim的软连接了,如果你直接执行vi欢迎界面上显示了VIM - Vi IMproved字样,就说明你实际上用的就是vim

$ ls -l `which vi`
lrwxr-xr-x  1 root  wheel  3  4 15  2015 /usr/bin/vi -> vim
过去多啦不再A梦

vim has rich colors and looks comfortable,

巴扎黑

The vi of most distros is vim. Some have direct symbolic links. Some have specially compiled a small version. The so-called minor version means that many functions are removed during compilation. Use ./configure --help to see it in the source code.

There are also some distros that actually use other vi clones. This is quite niche.

我想大声告诉你

Uh~, I don’t remember the history clearly.
The main reason is that vim is an enhanced version of vi (vi improved), which has greatly enhanced the functions of vi.
There are so many improvements. If you just help a certain command, the help message will prompt vi: There is no such-and-such command or vi does not have this function.

阿神

The difference between Vim and vi is like the difference between IDE development tools and Notepad

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!