Skip to main content

Module keymap

Module keymap 

Source
Expand description

Keymaps: named actions bound to key chords, overridable from files.

[global]
quit = "ctrl+q"

[app]
save = ["ctrl+s", "f2"]

A chord is modifiers and a key joined with +. Modifier and key names are case-insensitive (Ctrl+Enter is ctrl+enter), but a letter’s case counts: "S" means shift+s, the chord a terminal reports for a typed capital S, while "s" is the plain key.

[global] holds framework actions; [app] holds the application’s own. An application binding wins over a global one on the same chord. Hint bars take their labels from the locale key quvyta.keys.<action> for global actions and keys.<action> for app actions.

Structs§

KeyChord
A key plus modifiers.
Keymap
Actions and the chords that trigger them.
Modifiers
Held modifier keys.

Enums§

Key
A key without modifiers.
Scope
Which table an action belongs to.