Skip to content

junegunn/vim-peekaboo

master
Switch branches/tags
Code

Latest commit

Apparently, [Neovim now fires the `CursorMoved` autocmd every time a window is changed](https://github.com/neovim/neovim/blob/master/runtime/doc/autocmd.txt#L647), and that seems to be the root cause of the problem I ran into in #61. (More details can be found in neovim/neovim#11102.) This change has fixed that specific issue for me, but I don't know if there might be other problematic side effects.
cc4469c

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

👀 " / @ / CTRL-R

Resources

Stars

Watchers

Forks

Packages

No packages published