keymaps

Nixvim keymaps.

Type: list of (submodule)

Default: [ ]

Example:

[
  {
    action = "<cmd>make<CR>";
    key = "<C-m>";
    options = {
      silent = true;
    };
  }
]

Declared by:

keymaps.*.action

The action to execute.

Type: string or raw lua code

Declared by:

keymaps.*.key

The key to map.

Type: string

Example: "<C-m>"

Declared by:

keymaps.*.mode

One or several modes. Use the short-names ("n", "v", …). See :h map-modes to learn more.

Type: one of “c”, “i”, “!”, “l”, “n”, “”, “o”, “s”, “t”, “v”, “x” or list of (one of “c”, “i”, “!”, “l”, “n”, “”, “o”, “s”, “t”, “v”, “x”)

Default: ""

Example:

[
  "n"
  "v"
]

Declared by: