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
- Host: GitHub
- URL: https://github.com/fireisgood/nvim-clear-registers
- Owner: FireIsGood
- License: mit
- Created: 2024-05-18T08:42:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T20:58:59.000Z (about 2 years ago)
- Last Synced: 2025-05-16T18:12:24.793Z (about 1 year ago)
- Topics: neovim, nvim-plugin
- Language: Lua
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.