Created
January 20, 2012 20:31
-
-
Save danielgrippi/1649407 to your computer and use it in GitHub Desktop.
dan's vimrc.local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set wildmode=full | |
set wildignore+=*/.git/*,*/log/*,*/.hg/*,*/.svn/*,*/.DS_Store,*/public/uploads/* | |
" NERDTree and Control-P remapping | |
map \ :NERDTreeToggle<CR> | |
nmap <Leader>t :CommandT<CR> | |
nmap <Leader>p :CtrlP<CR> | |
nmap <Leader>b :CtrlPBuffer<CR> | |
" Visual Indentation | |
vmap <tab> >gv | |
vmap <S-tab> <gv | |
" Auto-indent whole file | |
nmap <leader>= gg=G`` | |
" Git Blame | |
map <leader>g :Gblame<CR> | |
map <leader>d :Gdiff<CR> | |
" Remove highlighting post-search | |
nmap <leader>n :nohls<CR> | |
" Buffer cycling | |
map <F2> :bprevious<CR> | |
map <F3> :bnext<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment