Show register content when you try to access it in NeoVim. Written in Lua.
Requires NeoVim 0.5+.
- No configuration required, automatically maps to " and CtrlR
- Non-obtrusive, won't influence you're workflow
- Minimal interface, no visual noise
The popup window showing the registers and their values can be opened in one of the following ways:
- Call
:Registers
- Press " in normal or visual mode
- Press CtrlR in insert mode
Empty registers are not shown by default.
Use the Up and Down or CtrlP and CtrlN or CtrlJ and CtrlK keys to select the register you want to use and press Enter to apply it, or type the register you want to apply, which is one of the following:
" 0-9 a-z : . % # = * + _ /
use "tversteeg/registers.nvim"
paq "tversteeg/registers.nvim"
Plug 'tversteeg/registers.nvim'
call dein#add('tversteeg/registers.nvim')
let g:registers_return_symbol = "\n" "'⏎' by default
let g:registers_tab_symbol = "\t" "'·' by default
let g:registers_space_symbol = "." "' ' by default
let g:registers_register_key_sleep = 1 "0 by default, seconds to wait before closing the window when a register key is pressed
let g:registers_show_empty_registers = 0 "1 by default, an additional line with the registers without content