Skip to main content

Module keymap

Module keymap 

Source
Expand description

Default keybindings plus config remaps ([keys.index] / [keys.pager], action = "key"). Key syntax: a single character, or ctrl+x / alt+x, or a name: enter, esc, space, tab, backspace, up, down, left, right, pgup, pgdn, home, end.

Structs§

KeyPattern
Keymap

Enums§

PagerAction

Functions§

parse_key
parse_sequence
A key sequence for macros: literal characters plus key names in angle brackets (<enter>, <esc>, <ctrl+x>, everything parse_key accepts). None on an unknown name or an unclosed <.