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

plugins.improved-search.keymaps

Keymap definitions for search functions

See here for the list of available callbacks.

Type: list of (submodule)

Default: [ ]

Example:

[ { action = "stable_next"; key = "n"; mode = [ "n" "x" "o" ]; } { action = "stable_previous"; key = "N"; mode = [ "n" "x" "o" ]; } { action = "current_word"; key = "!"; mode = "n"; options = { desc = "Search current word without moving"; }; } { action = "in_place"; key = "!"; mode = "x"; } { action = "forward"; key = "*"; mode = "x"; } { action = "backward"; key = "#"; mode = "x"; } { action = "in_place"; key = "|"; mode = "n"; } ]

Declared by:

plugins.improved-search.keymaps.*.action

The action to execute.

See here for the list of available callbacks.

Type: one of “stable_next”, “stable_previous”, “current_word”, “current_word_strict”, “in_place”, “in_place_strict”, “forward”, “forward_strict”, “backward”, “backward_strict” or raw lua code

Example: "in_place"

Declared by:

plugins.improved-search.keymaps.*.key

The key to map.

Type: string

Example: "!"

Declared by:

plugins.improved-search.keymaps.*.mode

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

Type: one of or non-empty list of “”, “n”, “!”, “i”, “c”, “v”, “x”, “s”, “o”, “t”, “l”, “!a”, “ia”, “ca”

Default: ""

Example:

[ "n" "v" ]

Declared by: