1 require("bindings/default/global.js");
3 define_keymap("hint_keymap", $parent = default_base_keymap);
5 define_key(hint_keymap, match_any_unmodified_key, null, $fallthrough);
6 for (let i = 0; i <= 9; ++i)
7 define_key(hint_keymap, String.fromCharCode("0".charCodeAt(0) + i), "hints-handle-number");
9 define_key(hint_keymap, "back_space", "hints-backspace");
10 define_key(hint_keymap, "tab", "hints-next");
11 define_key(hint_keymap, "right", "hints-next");
12 define_key(hint_keymap, "down", "hints-next");
13 define_key(hint_keymap, "S-tab", "hints-previous");
14 define_key(hint_keymap, "left", "hints-previous");
15 define_key(hint_keymap, "up", "hints-previous");
16 define_key(hint_keymap, "escape", "minibuffer-abort");
17 define_key(hint_keymap, "C-g", "minibuffer-abort");
18 define_key(hint_keymap, "return", "hints-exit");