hinell/duplicate.nvim

github github
editing-support
stars 13
issues 0
subscribers 2
forks 0
CREATED

2023-09-24

UPDATED

last month


https://github.com/hinell/duplicate.nvim/assets/8136158/d136146f-fb84-4a66-9a04-6152e49d411a

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.nvim

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)

lazy.vim

require("lazy").setup(
    { "hinell/duplicate.nvim" },
    dependencies={ }
)

vim-plug

Plug "hinell/duplicate.nvim"

DOCUMENTATION

CONTRIBUTING

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.