Gee19 / registers.nvim

®️ NeoVim plugin to preview the contents of the registers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

registers.nvim

Show register content when you try to access it in NeoVim. Written in Lua.

Requires NeoVim 0.5+.

Features

  • No configuration required, automatically maps to " and CtrlR
  • Non-obtrusive, won't influence you're workflow
  • Minimal interface, no visual noise

Use

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

normal

  • Press CtrlR in insert mode

insert

Empty registers are not shown by default.

Navigate

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 : . % # = * + _ /

Install

Packer

use "tversteeg/registers.nvim"

Paq

paq "tversteeg/registers.nvim"

Plug

Plug 'tversteeg/registers.nvim'

Dein

call dein#add('tversteeg/registers.nvim')

Setup

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

About

®️ NeoVim plugin to preview the contents of the registers

License:GNU General Public License v3.0


Languages

Language:Lua 76.8%Language:Vim Script 23.2%