# HG changeset patch # User Ludovic Chabant # Date 1438154823 25200 # Node ID 50fbd059a6a18160f16bd8ffd5661410375ca2c8 # Parent 01ec865443b60a864138549e8625ed611c15daa8 More Vim customizations. diff -r 01ec865443b6 -r 50fbd059a6a1 vim/vimrc --- a/vim/vimrc Fri Jun 26 13:54:24 2015 -0700 +++ b/vim/vimrc Wed Jul 29 00:27:03 2015 -0700 @@ -386,6 +386,7 @@ " Tab navigation noremap :tabnext noremap :tabprevious +nnoremap t :tabnew " Window navigation nnoremap :wincmd k @@ -460,9 +461,11 @@ nnoremap ]l :lnextzvzz nnoremap [l :lpreviouszvzz -" Same with change list. +" Same with change and jump lists. nnoremap ]] g,zz nnoremap [[ g;zz +nnoremap ]j +nnoremap [j " Make the diff navigation also center things. nnoremap ]c ]czvzz @@ -487,6 +490,7 @@ " some of that `zvzz` stuff, but that's OK, the main point is to not mess up " the result selection window either. nnoremap zvzz +nnoremap :pop nnoremap vzMzvzz nnoremap :tprevious nnoremap :tnext