소스 검색

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
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""