This is a very minimal NeoVim plugin to smoothly copy and paste using System clipboard
With lazy.nvim:
{
"haphamdev/copier.nvim",
dependencies = {
"zdcthomas/yop.nvim",
},
config = function()
require("copier").setup()
end,
},
In Normal or Visual mode, use cp to copy to and cv to paste from your system clipboard. cp and cv are operators, which means you can combine them with motions. For example: cviw to paste and overwrite the word under cursor, or cpfa to copy text from the cursor until the next letter a.
cPto copy the current linecVto paste at current position