Troubleshoot: Because of the large amount of submodules, if you ever have any
trouble after pulling from the repository, it will be easier to just back up
your old .vim folder and just git clone a new version.
Clone this repo into your home directory either as .vim (linux/mac) or
vimfiles (Windows). Such as:
git clone git://github.com/punnie/vimfiles.git ~/.vim --recursive
Now you should create a new .vimrc file in your home directory that
loads the pre-configured one that comes bundled in this package. You can do it
on Linux/Mac like this:
echo "source ~/.vim/vimrc" > ~/.vimrc
On Windows you should create a _vimrc (underline instead of dot) and add
the following line inside:
source ~/vimfiles/vimrc
This way you can override the default configuration by adding your own inside
this file.
You should also create a new .gvimrc file in your home directory. You can do
it on Linux/Mac like this:
echo "source ~/.vim/gvimrc" > ~/.gvimrc
On Windows you should create a _gvimrc (underline instead of dot) and add
the following line inside:
source ~/vimfiles/gvimrc
This way you can override the default GUI configuration by adding your own inside
this file.
At first usage of vim, type:
:call pathogen#helptags()
This will make the plugins documentations available upon :help
You will need these dependencies figured out:
- Exuberant Ctags (http://ctags.sourceforge.net/)
- Ncurses-term (in Linux only)
In Ubuntu, for example, you will have to do:
apt-get install exuberant-ctags ncurses-term
In OS X, you can install ctags with homebrew
brew install ctags
On Windows you have to download Ctags and add ctags.exe in your PATH.
Mac OS X and most Linux distros come with Ruby already. If you’re in Windows
look for Luis Lavena’s latest Ruby Installer (http://rubyforge.org/projects/rubyinstaller/)
Visit the following sites to learn more about Vim:
There are many sites teaching Vim, if you know of any other that are easy
to follow for newcomers, let me know.