diff options
author | johannst <stoelp@eit.uni-kl.de> | 2017-08-03 09:39:27 +0200 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2017-08-03 09:39:27 +0200 |
commit | ab4fa5221893d7cbba88a22a25791cd0bee2e3bd (patch) | |
tree | 41ab81e7f198b7e533494f2eeac8f0494acf6561 | |
parent | 7abdbb5d222970229673484349a51ffc0cd21179 (diff) | |
download | dotfiles-ab4fa5221893d7cbba88a22a25791cd0bee2e3bd.tar.gz dotfiles-ab4fa5221893d7cbba88a22a25791cd0bee2e3bd.zip |
vimrc: changed ctrlp file search to search based on working dir instead of current file
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |