#vim-config A vim configuration script.
##Installation Run the install script to:
- Redirect the .vimrc configuration file and the .vim directory to vim-config
- Install pathogen
- Install bundles listed in bundles.cfg
- Add vim/vim-config aliases to .bash_profile
The following command sources the bash_profile to ensure included aliases can be used without restarting the shell.
./install.sh && source ~/.bash_profile
##.vimrc Edit vimrc:
vr
##Bundles While it is possible to install bundles as you would normally do with pathogen (git clone into ~/.vim/bundles), it is cleaner to use vim-config's bundle management scripts.
Edit bundles.cfg:
vb
Install all bundles listed in bundles.cfg:
install-bundles
Remove all bundles:
remove-bundles
Remove all bundles and install all bundles listed in bundles.cfg:
update-bundles
##Aliases sv = sudo vim
v = vim
vb = vim /path/to/vim-config/bundle.cfg
vc = cd /path/to/vim-config
vr = vim ~/.vimrc