Configuration for vim
- Install Vim Pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle; \
curl -so ~/.vim/autoload/pathogen.vim \
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
- Clone this repo and init submodules
git clone https://github.com/phoorichet/vim-config.git
cd vim-config
git submodule init
git submodule update
- Copy .vimrc to your .vimrc
cd vim-config
cp .vimrc ~/.vimrc
- Copy submodule to you vim bundle
In vim-config directory:
cp -r .vim/bundle/* ~/.vim/bundle/
- If running vim causes an error about pathogen#infect. That means "Install Vim Pathogen" didn't work, because curl didn't get the file. Then run this command:
cp -r .vim/autoload/* ~/.vim/autoload/
- If running
git commit
and save but getThere was a problem with the editor 'vi'
. (Perhaps only on Mac OS X Snow Leopard) Just run this:
git config --global core.editor /usr/bin/vim
- vim/bundle/ctrlp.vim
- vim/bundle/emmet-vim
- vim/bundle/syntastic
- vim/bundle/vim-bundler
- vim/bundle/vim-endwise
- vim/bundle/vim-fugitive
- vim/bundle/vim-gitgutter
- vim/bundle/vim-indent-guides
- vim/bundle/vim-jsbeautify
- vim/bundle/vim-powerline
- vim/bundle/vim-rails
- vim/bundle/vim-sensible