summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/iswap.lua
blob: 2de3b7a0dc07cf1f8099ef8d3c12e66c9ae1a1a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
    'mizlan/iswap.nvim',
    event = 'VeryLazy',
    keys = {
        { 'H', '<cmd>IMoveNodeWithLeft<cr>', silent = true },
        { 'L', '<cmd>IMoveNodeWithRight<cr>', silent = true },
    },
    opts = {
        -- Post-operation flashing highlight style,
        -- either 'simultaneous' or 'sequential', or false to disable
        -- default 'sequential'
        flash_style = false,

        -- Move cursor to the other element in ISwap*With commands
        move_cursor = true,
    },
}