Use ",g" as duplicate-and-comment
This commit is contained in:
parent
e8a57826ab
commit
e316519f99
1 changed files with 1 additions and 1 deletions
2
.vimrc
2
.vimrc
|
|
@ -76,7 +76,7 @@ let mapleader = "," " leader key is comma
|
|||
nnoremap xx "_dd
|
||||
|
||||
" Yank the line, comment it, paste it
|
||||
nnoremap yp yygccp
|
||||
nnoremap <leader>g yygccp
|
||||
|
||||
" When jumping to a given line, center the screen
|
||||
nnoremap G Gzz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue