当您输入vi
终端时,显示以下输出
~ VIM - Vi IMproved
~
~ version 7.3.547
~ by Bram Moolenaar et al.
~ Modified by pkg-vim-maintainers@lists.alioth.debian.org
~ Vim is open source and freely distributable
~
~ Help poor children in Uganda!
因此,根据此,vi
必须启动VIm
。
但是当您输入 vim
时
aditya@aditya-desktop:~$ vim
The program 'vim' can be found in the following packages:
* vim
* vim-gnome
* vim-tiny
* vim-athena
* vim-gtk
* vim-nox
Try: sudo apt-get install <selected package>
这表明vim
未安装。
值得注意的是man vi
,man vim
启动相同的手册页。
那么该vi
命令实际启动了什么?
dpkg -S $(which vi)