From 2bb8a06939141a9215b167c5137d666e98dd3756 Mon Sep 17 00:00:00 2001 From: yan Date: Fri, 8 Jun 2012 13:25:16 -0500 Subject: [PATCH] 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 :) --- vim/plugin/settings/ctrlp.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vim/plugin/settings/ctrlp.vim b/vim/plugin/settings/ctrlp.vim index 1282541..f9f8df9 100644 --- a/vim/plugin/settings/ctrlp.vim +++ b/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 ,t :CtrlPMixed " Additional mapping for buffer search -nnoremap ,b :CloseSingleConque:CtrlPBuffer -nnoremap :CloseSingleConque:CtrlPBuffer +nnoremap ,b :CloseSingleConque:CtrlPBuffer +nnoremap :CloseSingleConque:CtrlPBuffer " Cmd-Shift-P to clear the cache nnoremap :ClearCtrlPCache