/dot-vim

Primary LanguageVim Script

Vim configuration

Installation

Clone this repository locally (don't forget submodules):

cd ~/workspace
git clone git@github.com:yourname/dot-vim.git
cd dot-vim
git submodule init
git submodule update

Set symbolic links to the vim config file and directory:

cd ~
ln -sf ~/workspace/dot-vim/.vimrc .vimrc
ln -sf ~/workspace/dot-vim/.vim .vim
ls -al .vim*

Vim plugins

This config uses pathogen.vim for management of Vim plugins.

To add a plugin, add it as a git submodule under the .vim/bundle directory. For example:

cd ~/workspace/dot-vim
git submodule add git@github.com:vim-ruby/vim-ruby.git .vim/bundle/vim-ruby
git status
git add .
git commit -m "Added vim-ruby plugin."

Extra dependencies

Learning Vim