vim プラグインの設定に問題がありますCtrlP
。私は通常、3つの異なるディレクトリにあるファイルを操作しますC:/A
.vim
を起動してファイルを見つけようとすると、C:/B/D
何も見つかりません.J:/A
CtrlP
では、CtrlP でこれらのディレクトリを最初に検索するにはどうすればよいでしょうか。第二に、CtrlPに開いたすべてのファイルを記憶させたいのですが、CtrlPにこれを行うように指示するにはどうすればよいですか?
ここに私の設定があります
"=============================
"=========== CTRLP ===========
"=============================
">>Use this option to change the mapping to invoke CtrlP in |Normal| mode
let g:ctrlp_map = '<c-p>'
">>Set the default opening command to use when pressing the above mapping
let g:ctrlp_cmd = 'CtrlP'
">>searching by filename (as opposed to full path)
let g:ctrlp_by_filename = 0 "in {0,1}
">>When opening a file, if it's already open in a window somewhere, CtrlP will try
" to jump to it instead of opening a new instance
let g:ctrlp_switch_buffer = 'E'
">>Set the directory to store the cache files
let g:ctrlp_cache_dir = 'C:/Travail/Tools/vim-7.4.020-python-2.7-python-3.3-windows-x86/bundle/ctrlp.vim-master/cacheFiles'
$VIM
おまけの質問: このプラグインでは、他のいくつかのプラグインと同様に、私にとってどれが であるかについて言及したいと思いますがC:/Travail/Tools/vim-7.4.020-python-2.7-python-3.3-windows-x86
、ここでは CtrlP がそれを理解していないようですg:ctrlp_cache_dir
。$VIM