From bc28b3cc31ff456320e652d1d6adf7c4ba4031ca Mon Sep 17 00:00:00 2001 From: Pixeller Date: Wed, 13 Dec 2023 07:58:45 +0800 Subject: [PATCH] Not use map nmap please --- plugin/ctrlp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/ctrlp.vim b/plugin/ctrlp.vim index 1e56ecaf..280e9a82 100644 --- a/plugin/ctrlp.vim +++ b/plugin/ctrlp.vim @@ -36,7 +36,7 @@ com! -bar CtrlPRoot cal ctrlp#init('fil', { 'mode': 'r' }) exe 'nn (ctrlp) :'.g:ctrlp_cmd.'' if g:ctrlp_map != '' && !hasmapto('(ctrlp)') - exe 'map' g:ctrlp_map '(ctrlp)' + exe 'nmap' g:ctrlp_map '(ctrlp)' en if !exists('g:ctrlp_types') || index(g:ctrlp_types, 'mru') >= 0