- Back up your old configs. :)
mv ~/.vim ~/.vimbak
mv ~/.vimrc ~/.vimrc.bak
mv ~/.gvimrc ~/.gvimrc.bak
-
Clone the repository.
git clone https://github.com/flarnie/dotvim ~/.vim
-
Create symlinks to the nested
.vimrc
and.gvimrc
directories.
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
-
Pull down the submodules:
git submodule init
git submodule update
-
Make sure the syntastic checkers are installed: SCSS-Lint JSX-Hint
- Install fzf for fuzzy find. install with homebrew
Add a plugin
git submodule add https://github.com/tpope/vim-surround.git bundle/surround
Remove a plugin from StackOverflow post
git submodule deinit asubmodule
git rm asubmodule
rm -rf .git/modules/asubmodule
Note: This depends on using git version 1.8.5.
The solarized theme will not "just work" with the default mac terminal in my experience. Here is what I've done to get it working when I use Vim in the terminal;
- Set up iterm2, zsh, and oh-my-zsh.1
- Set up the solarized colors for iterm2. Now when you open Vim it should "just work" with the solarized theme.
WIP documenting which plugins are used and why.