I find it hard to configure CtrlP for vim the way I want it to work.
Ideally, I would like CtrlP to open with a list of files in the very last order. However, when I start typing, it will switch to searching for files under my current working directory.
This will allow me to switch buffers by pressing a button, and then moving up and down the last files, switch between two views on clicks and open the file in the project by typing its partial name.
My current CtrlP settings are as follows
nmap ยง :CtrlPClearCache<CR>:CtrlPMRUFiles<CR> let g:ctrlp_working_path_mode='ra' let g:ctrlp_match_window_bottom=0 let g:ctrlp_max_depth=10 let g:ctrlp_max_files=500 let g:ctrlp_mruf_relative=1
.. and I invoke CtrlP by pressing ยง.
Any advice on improving my configuration to get the functionality I'm doing, or teaching me the best way to quickly switch buffers.
source share