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

https://github.com/fireisgood/nvim-clear-registers

A very simple plugin to clear your registers
https://github.com/fireisgood/nvim-clear-registers

neovim nvim-plugin

Last synced: 27 days ago
JSON representation

A very simple plugin to clear your registers

Awesome Lists containing this project

README

          

# nvim-clear-registers

Adds the command `:ClearRegisters` to clear your registers. That's literally it.

## Installation

```lua
-- lazy.nvim
{
"FireIsGood/nvim-clear-registers",
lazy = false,
config = true,
},

-- packer
use "FireIsGood/nvim-clear-registers"
```

## Usage

Use the command to clear your registers.

```
:ClearRegisters
```

## Configuration

### Defaults

The `.setup()` call is optional if you are fine with the defaults below.

```lua
-- default config
require("clear-registers").setup({
registerFunction = true, -- Registers :ClearRegisters
clearOnStartup = true, -- Clears all registers on startup
})
```

## Contributing

This project is feature complete. Feel free to add issues if it breaks.