-
增加了对win32系统的兼容,原来的vimrc文件只兼容linux和mac
-
修正了一些快捷键,例如ctr-q被原作者用来搜索buffer,用过win32版本vim的都知道ctrl-q被用来作为块编辑的快捷键,所以ctrl-q是万万不能被移做他用的.
-
去掉了colorscheme,原作者的colorscheme对我来说实在是太geeky,我想软件默认的colorscheme就该是最适合大多数人的.
-
启用了swap文件,因为我的机器配置太低,而且我经常要编辑大文件
-
取消了所有和python有关的plugin,因为一些路径问题,也因为我觉得vim对python的支持够强大了(事实是,我缺乏用python写大项目的经验).
-
增加了对中文编码的支持,参考了吴咏炜的一篇文章
- 兼容低版本vi,目前我在vim6.1上测试过。
-
其他一些通用性,兼容性的修正
我强烈建议你通读这个vimrc文件,一定会很有收获的,至少我是如此.
以下就是vimrc文件的内容,使用该文件前,根据vim所在的操作系统,修改MySys函数的返回值,可选值为"win32","linux","mac".