史上最强的 Vim 配置文件?

Vim 之所以经久不衰,是因为它好用。但真正要让 Vim 好用起来,也许离不开对它的配置。这里有一个可能是史上最强大的 Vim 配置文件?因为这个配置文件的总行数达到了 800 多行。不仅如此,它还集成了一些非常好用的 Vim 脚本,使 Vim 的功能变得异常强大。作者还将这个配置文件写得不仅适用于 Linux,而且也可用于 Mac 中。如果你是一个 Vim Fans,千万要试试。

Read More:

12 Comments

  1. 1 shofly Commented @ 2006-08-16 12:28Reply to this comment

    提示函数MySys()未定义,这个怎么解决

  2. 2 Toy Commented @ 2006-08-16 13:25Reply to this comment

    那是作者写的用来判断系统的函数,你注释掉就没事了。

  3. 3 shofly Commented @ 2006-08-16 20:49Reply to this comment

    谢谢,我把它判断的语句给删除了,问题解决了

  4. 4 daqing Commented @ 2006-09-09 18:08Reply to this comment

    VIM 的确好用极了,感谢Linuxtoy

  5. 5 oldbeancurd Commented @ 2007-09-22 16:25Reply to this comment

    正像学怎么配置vim,感谢!

  6. 6 Roc Commented @ 2008-12-29 9:28Reply to this comment

    其实安装方法应该参考作者的Blog: http://amix.dk/blog/viewEntry/162

  7. 7 3Q Commented @ 2009-03-19 16:27Reply to this comment

    Thanks! copy & use

  8. 8 oppih Commented @ 2009-08-10 14:39Reply to this comment

    请问,为什么我用了这个vimrc文件之后终端中打开vim写python语句却没有高亮显示呢?

  9. 9 Seven Commented @ 2009-10-31 14:20Reply to this comment

    在第一个出错行前一段,建一个下面这样的函数,其中return 里面的字符串根据你的操作系统进行选择,如Linux下函数就是:return "Linux",保存文件之后,再次开启VI时就不会有出错提示了。这个是作者博客里写到的。我是把它放到100行的地方新建了下面的内容。

    fun! MySys() return "windows" endfun

  10. 10 NiuB Commented @ 2009-12-26 8:32Reply to this comment

    N 年前看过,感觉没啥,N 年后在不同平台下用 VIM,再看,真是牛 B。

  11. 11 benzi Commented @ 2010-01-15 23:15Reply to this comment

    哇 确实不错 细细读来蛮有收获。对初学者介绍一篇有详细说明(中文)的VIM配置文件。 http://laugh.0fees.net/archives/45

  12. 12 MingXuan Commented @ 2010-05-14 10:45Reply to this comment

    安装方法很简单,请参考作者的Blog: http://amix.dk/blog/viewEntry/162。 我安装在了我的$(PROJECT)目录下。很好用,谢谢!!!