55

GitHub - sgur/ctrlp-extensions.vim: Plugins for ctrlp.vim

 5 years ago
source link: https://github.com/sgur/ctrlp-extensions.vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

ctrlp-extensions.vim

Extensions for ctrlp.vim

  • cmdline : cmdline history
  • yankring : yank history
  • menu : extension selector menu

Demo

menu

Requirement

Usage

:CtrlPCmdline

Invoking CtrlP in cmdline-history

:CtrlPMenu

Invoking CtrlP in CtrlP extensions (including files, buffers, mrus,)

:CtrlPYankring

Invoking CtrlP in yank history

Cutomization

g:ctrlp_yankring_disable

Set 1 to disable yankring feature.

It is useful with yankround.vim plugin.

g:ctrlp_yankring_limit

Limit display item number to this value.

" default value
let g:ctrlp_yankring_limit = 100

g:ctrlp_yankring_minimum_chars

The minimum type keys to start searching candidates

" default value
let g:ctrlp_yankring_minimum_chars = 2

License

MIT License

Author

sgur <[email protected]>


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK