/nvim.nocopy-paste

Neovim plugin to fix visual-selected text pasting behaviour

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

nvim.nocopy-paste

Neovim plugin for pasting text without copying underlying visual-selected text

example.gif

Installation

Install the plugin with your preferred package manager

Lazy.nvim

require("lazy").setup({
    "silentz/nvim.nocopy-paste",
})

Packer

return require('packer').startup(function (use)
    use "silentz/nvim.nocopy-paste"
end)

FAQ

  • Q: Why not use vnoremap p "_dP instead of this plugin?
  • A: There is the problem while using vnoremap p "_dP. It happens while pasting in the end of a line: vnoremap_example