From 3516b9fd90e82fba55577f75393b261ed1843bf2 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Thu, 13 Jul 2017 04:37:54 +0800 Subject: [PATCH] Fix comment paragraphs --- autoload/SpaceVim/mapping/space.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/SpaceVim/mapping/space.vim b/autoload/SpaceVim/mapping/space.vim index 1e07bad75..475bc7055 100644 --- a/autoload/SpaceVim/mapping/space.vim +++ b/autoload/SpaceVim/mapping/space.vim @@ -76,8 +76,8 @@ function! SpaceVim#mapping#space#init() abort " line is commented, all selected lines are uncommented and vice versa. call SpaceVim#mapping#space#def('nmap', ['c', 'l'], 'NERDCommenterComment', 'comment lines', 0, 1) call SpaceVim#mapping#space#def('nmap', ['c', 'L'], 'NERDCommenterInvert', 'toggle comment lines', 0, 1) - call SpaceVim#mapping#space#def('nmap', ['c', 'p'], 'vip\NERDCommenterComment', 'comment paragraphs', 0, 1) - call SpaceVim#mapping#space#def('nmap', ['c', 'P'], 'vip\NERDCommenterInvert', 'toggle comment paragraphs', 0, 1) + call SpaceVim#mapping#space#def('nmap', ['c', 'p'], 'vipNERDCommenterComment', 'comment paragraphs', 0, 1) + call SpaceVim#mapping#space#def('nmap', ['c', 'P'], 'vipNERDCommenterInvert', 'toggle comment paragraphs', 0, 1) " in nerdcomment if has map to ... the default mapping will be " disable, so we add it for compatibility nmap cc NERDCommenterComment