This configuration repository is used on Ubuntu machines and on Windows machines for Vim and GVim.
Some of the configuration was originally based on Topfunky's Vim starter with some tweaks by Rob Conery. Check out Topfunky's PeepCode episodes on Vim. It has changed very much over time and I've added basic installation scripts.
The setup procedures differ for Linux and Windows.
Clone this repository and run the install script:
git clone https://github.com/mpareja/vim-settings.git ~/.vim
cd ~/.vim && ./install.sh
The default font is Consolas, so you may want to install the Consola.ttf
font by double clicking on it and choosing to install.
In Windows the instructions are a bit lengthier:
- Clone this repository somewhere on your hard drive.
- Backup your .vimrc and .gvimrc files.
- From Git bash, execute
./install.sh
in the newly cloned directory. - Open up the vimfiles directory (its location depends on your installation of Vim) and remove everything.
- Copy all of the directories in the repo and paste them in the vimfiles directory.
- Re-run
./install.sh
(it performs some commands that expect the vimfiles to already be in the correct location).
Use the following script to update all submodules. Make sure to commit them separately so you can back out changes easily.
./update.sh
git submodule add <URL> bundle/<user>-<repo>
# update help index
vim -c "call pathogen#helptags() | q"
vim-snipmate depends on vim-addon-mw-utils and tomtom-tlib. That's why they were added.