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 <.
resolve_function
An rmut action name or a mutt function name, resolved to the rmut name the key tables use. None when the menu has no such function. Both front ends bind keys through this, so :bind and :macro accept the same names in the terminal and in the window.