From 032143ad238f9f01cedc0fcd3601caa0f4018436 Mon Sep 17 00:00:00 2001 From: Andy Wokula Date: Sun, 18 Dec 2016 17:34:36 +0100 Subject: [PATCH] no default mappings at all --- autoload/nerdcommenter.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/autoload/nerdcommenter.vim b/autoload/nerdcommenter.vim index 7fca967..606c3d8 100644 --- a/autoload/nerdcommenter.vim +++ b/autoload/nerdcommenter.vim @@ -47,7 +47,6 @@ call s:InitVariable("g:NERDBlockComIgnoreEmpty", 0) call s:InitVariable("g:NERDCommentWholeLinesInVMode", 0) call s:InitVariable("g:NERDCommentEmptyLines", 0) call s:InitVariable("g:NERDCompactSexyComs", 0) -call s:InitVariable("g:NERDCreateDefaultMappings", 0) call s:InitVariable("g:NERDDefaultNesting", 1) call s:InitVariable("g:NERDMenuMode", 3) call s:InitVariable("g:NERDLPlace", "[>") @@ -2999,9 +2998,6 @@ function! s:CreateMaps(modes, target, desc, combo) for mode in (a:modes == '') ? [''] : split(a:modes, '\zs') if strlen(a:combo) execute mode . plug_start . mode . plug_end - if g:NERDCreateDefaultMappings && !hasmapto(plug, mode) - execute mode . 'map ' . a:combo . ' ' . plug - endif endif " Check if the user wants the menu to be displayed. if g:NERDMenuMode != 0