ソースを参照

make ctrlp respect vim current working

'w' is the magic option. Without it, the default (relelvent) 'r' behaviour is to
take the closest git root to start searching from. This is fine if you're in
actual code, but once you enter a git submodule, the search then starts only
from that submodule.
Weiyi Lou 12 年 前
コミット
09a39b74ab
1 ファイル変更4 行追加0 行削除
  1. 4 0
      vim/vimrc

+ 4 - 0
vim/vimrc

@@ -291,6 +291,10 @@ let g:indent_guides_auto_colors = 0
 let g:syntastic_auto_jump = 1
 
 
+""""""""" CtrlP
+let g:ctrlp_working_path_mode = 'rw'
+
+
 """"""""
 "" Functions
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""