Explorar o 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 %!s(int64=12) %!d(string=hai) anos
pai
achega
09a39b74ab
Modificáronse 1 ficheiros con 4 adicións e 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
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""