This repository is my personal Vim configurations, include configuration and plugins. The plugins are managed by neobundle.
- Install git on your OS
- For Windows user: Install windows for git
- For Linux user: Install git via your package manager
- For OS X user: Install git via homebrew
- Clone vimcfg repos
git clone https://github.com/tigerdavid/vimcfg.git
- Create symbolic links
-
Linux/OS X
ln -s vimcfg/_vimrc ~/.vimrc ln -s vimcfg/vimfiles ~/.vim -
Windows Install vim into the vimcfg diretory and the treeview should like below:
vimcfg +-- .git +-- vim74 (vim install directory) +-- vimfiles +-- .gitignore +-- .gitmodules +-- _vimrc +-- README.md
- Install other plugins
Open Vim then NeoBundle will install other plugins automatically
- Update plugins
The plugins can be updated by :NeoBundleUpdate command.
- Post install
Some plugins require external command.
fencviewrequire vim hasiconvfeature and an external libiconv.dllfor windows.neocompleterequire vim hasif_luafeature.vim-clangrequire Clang for C-family completion.syntasticneed to install external checker for different filetype.vimprocneed to build C code to dll on windows, which will auto build for Linux and OS X.vim-goneed to install binary tool via:GoInstallBinariesgen_tags.vimrequire ctags and GNU globaltern_for_vimrequire install tern (node.js based)
neobundle.vim is managed by git subtree.
So if you need to update it. please use the following command.
git subtree pull --prefix vimfiles/bundle/neobundle.vim https://github.com/Shougo/neobundle.vim.git master --squash
Be sure don't forget the paramenter --squash, otherwise all the history of subtree will be add to your history.
For more details about neobundle
Please refer here or :help neobundle
And also you can fork this repository, if you want to custom your own configuration.
Thanks for reading :)