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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user