This is the .vimrc file of Robbie Cao. Much of it is beneficial for general use, I would recommend picking out the parts you want and understand.
Major of those config are from:
-
Clone a copy to your local
$ git clone git@github.com:robbie-cao/vim.robc.git
-
Install dependence packages
-
ctags, cscope, ag(the_silver_searcher)
-
ubuntu
$ sudo apt-get install cscope ctags $ sudo apt-get install build-essential cmake python-dev # 编译YCM自动补全插件依赖 $ sudo apt-get install silversearcher-ag
-
mac
$ brew install ctags cscope $ brew install the_silver_searcher
-
-
Run install.sh
$ cd vim.robc $ ./install.sh
Enjoy!
- MarkdownPreview has problem during Vim start after update python with brew (
brew update
&brew install python
). Log - InstantMarkdownPreview works with Firefox, but has issue with Chrome.
- Move plugin enable/disable config to vimrc or a separate config file
- Optimize config on file types
- More
If you would like to help making it better, feel free to fork it. Any patches are welcome.