- Using Vundle to bundle plugins
-
Clone git repository into ~/.vim: git clone https://github.com/charleschen/dotvim.git ~/.vim
-
Update git submodule: git submodule update --init
-
Link the vimrc file from the repository to your root folder: cd ~ ln -s ~/.vim/vimrc .vimrc
-
Add your own vimrc. file to ~/.vim/vimrc
-
Start vim, run the command :BundleInstall. All bundle should install
-
(optional) for macvim there is a gvimrc config. This is used to config macvim config, specificall to change mac key bindings. vimrc is read too early so (un)mappings will not work there
- Can load multiple vim config file, look for "Loading seperate vim configs". Add/remove/modify extra vim configuration files here.
- By default will try to look for "~/.vim/{USERNAME}_vimrc" for personal vim config
YouCompleteMe unavailable: requires Vim 7.3.584+ $ brew install macvim --override-system-vim
If you need the app bundle linked in /Applications... $ brew linkapps
To Compile YCM $ brew install CMake $ cd ~/.vim/bundle/YouCompleteMe $ ./install.sh --clang-completer
mv /usr/bin/vim /usr/bin/vim72 ln -s /usr/local/bin/mvim usr/bin/vim
Then use bundleinstall to install YCM