base vim-pathogen
& git submodule
$ cd ~
$ git clone git://github.com/leecade/dotvim.git .vim
$ cd ~/.vim
$ sh install.sh
$cd ~/.vim
$ git submodule add git://github.com/tpope/vim-markdown.git bundle/vim-markdown
$ git rm bundle/vim-markdown
$ cd ~/.vim
$ sh update.sh
,d
brings up NERDTree, a sidebar buffer for navigating and manipulating files,t
brings up ctrlp.vim, a project file filter for easily opening specific files,b
restricts ctrlp.vim to open buffers,a
starts project search with ack.vim using ag (like ack)ds
/cs
delete/change surrounding characters (e.g."Hey!"
+ds"
=Hey!
,"Hey!"
+cs"'
='Hey!'
) with vim-surround\\\
toggles current line comment\\
toggles visual selection comment linesvii
/vai
visually select in or around the cursor's indent,[space]
strips trailing whitespace^]
jump to definition using ctags,l
begins aligning lines on a string, usually used as,l=
to align assignments^hjkl
move between windows, shorthand for^w hjkl
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request