I have read through the docs but cannot figure out if this is possible.
I want to keep the default setting of g:ctrlp_working_path_mode = 2, but I want the ability to manually override that for all buffers in the current window if I want.
Specifically, I want to issue a ctrlp command or change a ctrlp config variable that sets the root search directory, such that is uses that directory for all future searches, regardless of which buffer I’m in.
Bonus Question: Is it possible to set two root directories, so that it searches both of them and combines the results?
Thanks!
Try this:
Source: https://github.com/kien/ctrlp.vim
Also, here: https://github.com/kien/ctrlp.vim/issues/292 , the author has provided one way to set fullpath: