plugins.multicursors.insertKeys

Insert mode key mappings.

Default: see the README.md

Type: null or (attribute set of (submodule))

Default: null

Declared by:

plugins.multicursors.insertKeys.<name>.method

Assigning "nil" exits from multi cursor mode. Assigning false removes the binding

Type: string or value false (singular enum)

Example:

''
  function()
    require('multicursors.utils').call_on_selections(
      function(selection)
        vim.api.nvim_win_set_cursor(0, { selection.row + 1, selection.col + 1 })
        local line_count = selection.end_row - selection.row + 1
        vim.cmd('normal ' .. line_count .. 'gcc')
      end
    )
  end
''

Declared by:

plugins.multicursors.insertKeys.<name>.opts

You can pass :map-arguments here.

Type: attribute set of string

Default: { }

Example:

{
  desc = "comment selections";
}

Declared by: