From f198e9ffce00e2981f638217253ec3077bad69b9 Mon Sep 17 00:00:00 2001 From: Benji Fisher Date: Mon, 12 Dec 2011 10:30:17 -0500 Subject: [PATCH] Replaced raw CTRL-V with \ --- plugin/NERD_commenter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index ae9026f..005ee02 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -1049,7 +1049,7 @@ function! NERDComment(isVisual, type) range let forceNested = (a:type == 'nested' || g:NERDDefaultNesting) if a:type == 'norm' || a:type == 'nested' - if a:isVisual && visualmode() == "" + if a:isVisual && visualmode() == "\" call s:CommentBlock(firstLine, lastLine, firstCol, lastCol, forceNested) elseif a:isVisual && visualmode() == "v" && (g:NERDCommentWholeLinesInVMode==0 || (g:NERDCommentWholeLinesInVMode==2 && s:HasMultipartDelims())) call s:CommentRegion(firstLine, firstCol, lastLine, lastCol, forceNested)