Keymap module

add_keymap

procedureSource

Adds an empty keymap named section_name to the set and returns it. The name is what a [section] line in a bindings file refers to.

Example↗
set: Keymap_Set;
map := add_keymap(*set, "editor");
assert(map.section_name == "editor" && map.enabled);
add_keymap :: (set: *Keymap_Set, section_name: string) -> *Keymap

Parameters

section_name: string

Returns

See also