144

GitHub - junegunn/vim-peekaboo: " / @ / CTRL-R

 6 years ago
source link: https://github.com/junegunn/vim-peekaboo
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

vim-peekaboo

Peekaboo extends " and @ in normal mode and <CTRL-R> in insert mode so you can see the contents of the registers.

Installation

Using vim-plug:

Plug 'junegunn/vim-peekaboo'

Usage

Peekaboo will show you the contents of the registers on the sidebar when you hit " or @ in normal mode or <CTRL-R> in insert mode. The sidebar is automatically closed on subsequent key strokes.

You can toggle fullscreen mode by pressing spacebar.

Customization

Config Default Description g:peekaboo_window vert bo 30new Command for creating Peekaboo window g:peekaboo_delay 0 (ms) Delay opening of Peekaboo window g:peekaboo_compact 0 (boolean) Compact display g:peekaboo_prefix Empty (string) Prefix for key mapping (e.g. <leader>) g:peekaboo_ins_prefix Empty (string) Prefix for insert mode key mapping (e.g. <c-x>)

License

MIT


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK