Browse files

Changed default ,t binding do use CtrlP mixed mode

The mixed mode is more intelligent, searching buffers, MRU, and
the general file list. It gives you more of what you want, and
less of what you don't :)
  • Loading branch information...
1 parent 184a2e2 commit 2bb8a06939141a9215b167c5137d666e98dd3756 @skwp committed Jun 8, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 vim/plugin/settings/ctrlp.vim
@@ -7,10 +7,11 @@ let g:ctrlp_by_filename = 1
" We don't want to use Ctrl-p as the mapping because
" it interferes with YankRing (paste, then hit ctrl-p)
let g:ctrlp_map = ',t'
+nnoremap <silent> ,t :CtrlPMixed<CR>
" Additional mapping for buffer search
-nnoremap ,b :CloseSingleConque<CR>:CtrlPBuffer<cr>
-nnoremap <C-b> :CloseSingleConque<CR>:CtrlPBuffer<cr>
+nnoremap <silent> ,b :CloseSingleConque<CR>:CtrlPBuffer<cr>
+nnoremap <silent> <C-b> :CloseSingleConque<CR>:CtrlPBuffer<cr>
" Cmd-Shift-P to clear the cache
nnoremap <silent> <D-P> :ClearCtrlPCache<cr>

0 comments on commit 2bb8a06

Please sign in to comment.