When jumping to a given line, center the screen

This commit is contained in:
nojhan 2012-08-04 13:23:08 +02:00
commit 545e8817d6

3
.vimrc
View file

@ -62,6 +62,9 @@ let mapleader = "," " leader key is comma
" xx will delete the line without copying it into the default register
nnoremap xx "_dd
" When jumping to a given line, center the screen
nnoremap G Gzz
" ,v will reselect the text that was just pasted
nnoremap <leader>v V`]