" Default to filename searches - so that appctrl will find application " controller 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' " Additional mapping for buffer search nnoremap ,b :CtrlPBuffer nnoremap :CtrlPBuffer " Cmd-Shift-P to clear the cache nnoremap :ClearCtrlPCache " Idea from : http://www.charlietanksley.net/blog/blog/2011/10/18/vim-navigation-with-lustyexplorer-and-lustyjuggler/ " Open CtrlP starting from a particular path, making it much " more likely to find the correct thing first. mnemonic 'jump to [something]' map ,jm :CtrlP app/models map ,jc :CtrlP app/controllers map ,jv :CtrlP app/views map ,jh :CtrlP app/helpers map ,jl :CtrlP lib map ,jp :CtrlP public map ,js :CtrlP spec map ,jf :CtrlP fast_spec map ,jt :CtrlP test map ,jd :CtrlP db map ,jC :CtrlP config map ,jV :CtrlP vendor map ,jF :CtrlP factories