Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

multicursor

URL: https://github.com/jake-stewart/multicursor.nvim/

Maintainers: Austin Horstman


Multiple cursors in Neovim which work how you expect.

setup() accepts only signs, shallowUndo, and hlsearch. The plugin drives everything else (cursor operations, keymap layers, highlight groups) through its Lua API. Define keymaps and mc.addKeymapLayer(...) calls yourself, for example in extraConfigLua.

plugins.multicursor.enable

Whether to enable multicursor.

Type: boolean

Default:

false

Example:

true

Declared by:

plugins.multicursor.package

The multicursor package to use.

Type: package

Default:

pkgs.vimPlugins.multicursor-nvim

Declared by:

plugins.multicursor.autoLoad

Whether to automatically load multicursor when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example:

false

Declared by:

plugins.multicursor.callSetup

Whether to generate the standard require('multicursor-nvim').setup(...) call for this plugin.

Explicitly set to false to disable calling .setup().

Type: boolean

Default:

true

Declared by:

plugins.multicursor.settings

Options provided to the require('multicursor-nvim').setup function.

Type: lua value

Default:

{ }

Example:

{
  signs = [
    "┆"
    "│"
    "┃"
    "↑"
    "↓"
    "⇡"
    "⇣"
  ];
  shallowUndo = false;
  hlsearch = false;
}

Declared by: