Explorar el Código

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 hace 12 años
padre
commit
09a39b74ab
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""