Clippy.nvim is a Neovim plugin that let's you manage your clipboard. Written in Lua.
Using lazy:
return {
"petersid2022/clippy.nvim",
config = function ()
require('clippy').setup({})
end
}
Note:
This plugin is still early in development, so you have to call
setup()
to use it.
-
By default, pressing
<C-e>
will toggle Clippy's floating window (which is mapped torequire('clippy.ui'):toggle_menu()
) -
In there you can add (or yank) whatever text you'd like to keep (or don't want to lose by overwriting Neovim's selection registers for example), as Clippy saves all of it's contents (automatically, upon closing) to
~/.cache/nvim/clippy.log
. -
Come to think of it,
Clippy
also doubles as a very basic note-taking plugin.
This project is licensed under the MIT License. Refer to the LICENSE file for more details.