Use ",g" as duplicate-and-comment

This commit is contained in:
Johann Dreo 2013-04-30 08:56:28 +02:00
commit e316519f99

2
.vimrc
View file

@ -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