plugins.gitignore.keymap

Keyboard shortcut for the gitignore.generate command. Can be:

  • A string: which key to bind
  • An attrs: if you want to customize the mode and/or the options of the keymap (desc, silent, …)

Type: null or string or (submodule)

Default: null

Example: "<leader>gi"

Declared by:

plugins.gitignore.keymap.key

The key to map.

Type: string

Example: "<leader>gi"

plugins.gitignore.keymap.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: "n"

Example:

[
  "n"
  "v"
]