2015-11-30 107 views

回答

4

我同意@ romainl的回答,但回答问题的缘故:

:help CtrlP

              *'g:ctrlp_map'* 
Use this option to change the mapping to invoke CtrlP in |Normal| mode: > 
let g:ctrlp_map = '<c-p>' 
                  *'g:ctrlp_cmd'* 
Set the default opening command to use when pressing the above mapping: > 
let g:ctrlp_cmd = 'CtrlP' 

放在你的vimrc:

let g:ctrlp_map='<c-p>' 
let g:ctrlp_cmd = 'CtrlPMRU' 
1
  1. 不要在您的$HOME中启动Vim,也不要使用模糊发现器。首先,这是一个非常愚蠢的想法,基于ag的定制化不会让它变得更好。

    启动Vim只有一种有用的方法:导航到你的项目并在那里运行Vim。使用:CtrlPMRU命令而不是:CtrlP

相关问题