GitHub - ctrlpvim/ctrlp.vim at extensions (original) (raw)

Use ctrlp.vim to search for anything you like

Input

Provide ctrlp with a simple list of strings to search in.

Output

Specify an action to perform on the selected string.

Example:

To see how it works, get the sample.vim from this branch and place it (along with the directories) somewhere in your runtimepath. Then put this into your vimrc, a new search type will show up when you open CtrlP:

let g:ctrlp_extensions = ['sample']

Check out sample.vim for more details. For a list of extensions bundled with CtrlP, see :help ctrlp-extensions.

Extensions in the wild: