summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2017-08-03 09:39:27 +0200
committerjohannst <stoelp@eit.uni-kl.de>2017-08-03 09:39:27 +0200
commitab4fa5221893d7cbba88a22a25791cd0bee2e3bd (patch)
tree41ab81e7f198b7e533494f2eeac8f0494acf6561
parent7abdbb5d222970229673484349a51ffc0cd21179 (diff)
downloaddotfiles-ab4fa5221893d7cbba88a22a25791cd0bee2e3bd.tar.gz
dotfiles-ab4fa5221893d7cbba88a22a25791cd0bee2e3bd.zip
vimrc: changed ctrlp file search to search based on working dir instead of current file
-rw-r--r--vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 8e1f728..546b31d 100644
--- a/vimrc
+++ b/vimrc
@@ -91,7 +91,8 @@ if index(s:gEnabledPlugins, 'ctrlpvim/ctrlp.vim')!=-1
let g:ctrlp_cache_dir = $VIMHOME . '/cache/ctrlp'
nnoremap <leader>t :CtrlPBufTagAll<CR>
- nnoremap <leader>f :CtrlPCurFile<CR>
+ nnoremap <leader>f :CtrlPCurWD<CR>
+ "nnoremap <leader>f :CtrlPCurFile<CR>
nnoremap <leader>b :CtrlPBuffer<CR>
endif