Vim

安装:
$ sudo apt-get install vim vim-gnome exuberant-ctags

如果发现 GVim 的中文菜单无法显示,是因为 Ubuntu 中文操作系统的字符集写作 UTF-8,而 GVim 中认定的是 UTF8,做以下字符连接即可:
$ cd /usr/share/vim/vim72/lang
$ sudo ln -s menu_zh_cn.utf-8.vim menu_zh_cn.utf8.vim

安装完基本的 Vim 就可使用了,但要真正用好 Vim,还要根据需求对它进行配置自定义。已经有很多人分享了很好的配置经验,在 Google 中搜索 vimrc 可以找到很多资料。我发现了一个大牛配置,可以拿来学习和作为自己的配置参考。我个人不太喜欢大量地自定义快捷键,还是使用通用的比较好。

This entry was posted in Linux and tagged . Bookmark the permalink.

One Response to Vim

  1. WillMill says:

    你的文章对我帮助很大,谢谢你的大牛配置的介绍,这个链接非常棒~
    我在相关博文中的扩展阅读中添加了这篇文章及其相关页面的链接,特在此告知。
    正在阅读那个配置中~~~

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">