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 :)
This commit is contained in:
yan 2012-06-08 13:25:16 -05:00
parent 184a2e22c2
commit 2bb8a06939

View File

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