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:
parent
184a2e22c2
commit
2bb8a06939
@ -7,10 +7,11 @@ let g:ctrlp_by_filename = 1
|
|||||||
" We don't want to use Ctrl-p as the mapping because
|
" We don't want to use Ctrl-p as the mapping because
|
||||||
" it interferes with YankRing (paste, then hit ctrl-p)
|
" it interferes with YankRing (paste, then hit ctrl-p)
|
||||||
let g:ctrlp_map = ',t'
|
let g:ctrlp_map = ',t'
|
||||||
|
nnoremap <silent> ,t :CtrlPMixed<CR>
|
||||||
|
|
||||||
" Additional mapping for buffer search
|
" Additional mapping for buffer search
|
||||||
nnoremap ,b :CloseSingleConque<CR>:CtrlPBuffer<cr>
|
nnoremap <silent> ,b :CloseSingleConque<CR>:CtrlPBuffer<cr>
|
||||||
nnoremap <C-b> :CloseSingleConque<CR>:CtrlPBuffer<cr>
|
nnoremap <silent> <C-b> :CloseSingleConque<CR>:CtrlPBuffer<cr>
|
||||||
|
|
||||||
" Cmd-Shift-P to clear the cache
|
" Cmd-Shift-P to clear the cache
|
||||||
nnoremap <silent> <D-P> :ClearCtrlPCache<cr>
|
nnoremap <silent> <D-P> :ClearCtrlPCache<cr>
|
||||||
|
Loading…
Reference in New Issue
Block a user