Просмотр исходного кода

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 лет назад
Родитель
Сommit
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
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""