Skip to content

whhsw/dotvim

 
 

Repository files navigation

Vim configuration

  • Using Vundle to bundle plugins

Installation Instructions:

  1. Clone git repository into ~/.vim: git clone https://github.com/charleschen/dotvim.git ~/.vim

  2. Update git submodule: git submodule update --init

  3. Link the vimrc file from the repository to your root folder: cd ~ ln -s ~/.vim/vimrc .vimrc

  4. Add your own vimrc. file to ~/.vim/vimrc

  5. Start vim, run the command :BundleInstall. All bundle should install

  6. (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

Customization:

  • 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

About

synchronizes plugins for my mac vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%