From e316519f991f11f3edd0cc7796ba6953429a3d9f Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Tue, 30 Apr 2013 08:56:28 +0200 Subject: [PATCH] Use ",g" as duplicate-and-comment --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index eaa8a15..daacbad 100644 --- a/.vimrc +++ b/.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 g yygccp " When jumping to a given line, center the screen nnoremap G Gzz