Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/junegunn/vim-peekaboo

:eyes: " / @ / CTRL-R
https://github.com/junegunn/vim-peekaboo

Last synced: about 1 month ago
JSON representation

:eyes: " / @ / CTRL-R

Awesome Lists containing this project

README

        

vim-peekaboo
============

![](https://cloud.githubusercontent.com/assets/700826/6095261/bb00340c-af96-11e4-9df5-9cd869673a11.gif)

Peekaboo extends `"` and `@` in normal mode and `` in insert mode so
you can see the contents of the registers.

Installation
------------

Using [vim-plug](https://github.com/junegunn/vim-plug):

```vim
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 `` 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. ``) |
| `g:peekaboo_ins_prefix` | Empty (string) | Prefix for insert mode key mapping (e.g. ``) |

License
-------

MIT