145

GitHub - ma6174/vim: vim配置文件和插件

 6 years ago
source link: https://github.com/ma6174/vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

超强vim配置文件

简易安装方法:

打开终端,执行下面的命令就自动安装好了:

wget -qO- https://raw.github.com/ma6174/vim/master/setup.sh | sh -x

或者自己手动安装:(以ubuntu为例)

  1. 安装vim sudo apt-get install vim
  • 安装ctags:sudo apt-get install ctags
  • 安装一些必备程序:sudo apt-get install xclip vim-gnome astyle python-setuptools
  • python代码格式化工具:sudo easy_install -ZU autopep8
  • sudo ln -s /usr/bin/ctags /usr/local/bin/ctags
  • clone配置文件:cd ~/ && git clone git://github.com/ma6174/vim.git
  • mv ~/vim ~/.vim
  • mv ~/.vim/.vimrc ~/
  • clone bundle 程序:git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
  • 打开vim并执行bundle程序:BundleInstall
  • 重新打开vim即可看到效果

了解更多vim使用的小技巧:

tips.md

查看更新日志:

update_log.md


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK