Clone the repository and download submodules:
$ git clone https://github.com/triglav/vim-files.git ~/.vim
$ cd ~/.vim
$ git submodule init
$ git submodule update
Get the most recent version of submodules:
$ git submodule foreach git checkout master
$ git submodule foreach git pull
Create .vimrc link in your home directory:
$ ln -s ~/.vim/.vimrc ~/.vimrc
Generate Vim doc tags:
:call pathogen#helptags()
I am using DejaVu Sans Mono fonts on every platform.
You can get them for free at: http://dejavu-fonts.org
- use
~/vimfilesinstead of~/.vim - create rather a hard link (without the
-sflag) instead - set enviroment variable
GITDIRto the location of yourgit.exe - set enviroment variable
PERLDIRto the location of yourperl.exeandack-grepscript file (download it from http://betterthangrep.com/ack-standalone)
This config contains a couple of very useful commands:
<leader>WStrips all trailing whitespace in the current file.<leader>vReselects the text that was just pasted.<Leader>rForces vim screen redraw.<Leader>nOpens the NERD Tree plugin window.<Leader>mOpens Buf Explorer plugin window.<Leader>cdChanges the current directory to the file being edited.<Leader>lToggles list display<Leader>tOpens new tab