|
|
发表于 2007-4-13 17:19:03
|
显示全部楼层
这是因为 etch 默认安装的 vim 是 vim-tiny,处于和旧版本的 vi 兼容的模式。
在 /usr/share/doc/vim/NEWS.Debian.gz 可以找到修改方法:
vim (1:7.0-017+6) unstable; urgency=low
* "vim" vs "vi" revisited
Invoking Vim as "vi" now only provides a vi-compatiable environment for
the vim-tiny package (which is included in base). The remaining variants
will retain their normal behavior.
Since this behavior was restricted to vim-tiny, /etc/vim/virc has been
renamed /etc/vim/vimrc.tiny. As was the case with the initial "vi"
changes, the only setting in /etc/vim/vimrc.tiny is "set compatible".
-- James Vega <jamessan@debian.org> Mon, 5 Jun 2006 20:00:02 -0400
也就是说,你可以换用 "vim" 命令;或换装其它的 package,比如 vim;或修改 /etc/vim/vimrc.tiny 设置文件。 |
|