/duplicate.nvim

Duplicate visual selection, lines, and textobjects

Primary LanguageLuaOtherNOASSERTION

🔌 duplicate.nvim

duplicate-demo.mov

PayPal License

Duplicate visual selection & lines

⚡Features

  • Duplicate lines in different directions (up/down) by specified offset
  • Duplicate visual selection & line-wise blocks

🔒Requirements

📦 Installation

packer.setup(function(use)
    use({
        "hinell/duplicate.nvim",
        setup = function()
            vim.g["duplicate-nvim-config"] = {
                visual = {
                    selectAfter = true, -- true to select duplicated text
                    block       = true  -- true to enable block-wise duplication
                }
            }
        end
    })
end)
require("lazy").setup(
    { "hinell/duplicate.nvim" },
	dependencies={ }
)
Plug "hinell/duplicate.nvim"

SUPPORT DISCLAIMER

NO GUARANTEES UNTIL PAID. This project is supported and provided AS IS. See also LICENSE.

SEE ALSO


September 29, 2023
Copyright © - Alexander Davronov (a.k.a Hinell), et.al.