When jumping to a given line, center the screen
This commit is contained in:
parent
73226d9191
commit
545e8817d6
1 changed files with 3 additions and 0 deletions
3
.vimrc
3
.vimrc
|
|
@ -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`]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue