https://ctrlpvim.github.io/ctrlp.vim/
-
Clone the plugin into a separate directory:
$ cd ~/.vim $ git clone https://github.com/ctrlpvim/ctrlp.vim.git bundle/ctrlp.vim
-
Add to your
~/.vimrc
:set runtimepath^=~/.vim/bundle/ctrlp.vim
-
Run at Vim's command line:
:helptags ~/.vim/bundle/ctrlp.vim/doc
-
Restart Vim and check
:help ctrlp.txt
(or simply :help ctrlp) for usage instructions and configuration details. - When CtrlP helps find the file you want to open, if you simple press Enter, it will fill the current full window. Maybe that is not what you want.
- If you want to split the current window vertically and open it, press Ctrl-V;
- If you want to split the current window horizontally,, and open it, press Ctrl-S.
- If you want to open the file on a new tab, press Ctrl-T.
No comments:
Post a Comment