Vim 7.3 configuration for Clojure, Python and Ruby
-
Install
git
andcurl
as necessary: https://github.com/gmarik/vundle/wiki/Vundle-for-Windows -
Replace
~
with%USERPROFILE%
below:
-
To install, backup old versions of
~/.vim
,~/.vimrc
and~/.gvimrc
and delete them. Then,$ cd vim7.3-config $ ln -s `pwd`/vimrc ~/.vimrc # Windows users: cp vimrc ~/.vimrc $ ln -s `pwd`/vimrc ~/.gvimrc # Windows users: cp gvimrc ~/.gvimrc $ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
-
Launch
vim
(ormvim
orgvim
as applicable), run:BundleInstall
Or,
$ vim +BundleInstall +qall
Ctrl+ww
Switches between windows
Ctrl+wh
Switches focus to the window on left
Ctrl+wl
Switches focus to the window on right
Ctrl+wj
Switches focus to the window up
Ctrl+wk
Switches focus to the window down
To toggle the NERDTree
window, use Ctrl+t
To add a file, switch to the NERDTree window and press m
to bring up a menu
To open a file from existing list, bring cursor to desired file and press t
Ctrl+h
Switches focus to the tab on the left
Ctrl+l
Switches focus to the tab on the right
Ctrl+n
Opens a new empty tab
Ctrl+p
opens up an interface to find files via fuzzy match
Follow this URL for details on this mode: https://github.com/kien/ctrlp.vim