Released version 3-2014010900
[notion/jeffpc.git] / etc / cfg_menu.lua
blobfff79579c7ad60585746cada0b96e3120a4e7603
1 --
2 -- Menu module configuration.
3 --
4 -- Only bindings that are effect in menus are configured here.
5 -- See ion-menus.lua for menu definitions and ion-bindings.lua
6 -- for bindings to display menus.
7 --
10 defbindings("WMenu", {
11 bdoc("Close the menu."),
12 kpress("Escape", "WMenu.cancel(_)"),
13 kpress("Control+G", "WMenu.cancel(_)"),
14 kpress("Control+C", "WMenu.cancel(_)"),
15 kpress("Left", "WMenu.cancel(_)"),
17 bdoc("Activate current menu entry."),
18 kpress("Return", "WMenu.finish(_)"),
19 kpress("KP_Enter", "WMenu.finish(_)"),
20 kpress("Control+M", "WMenu.finish(_)"),
21 kpress("Right", "WMenu.finish(_)"),
23 bdoc("Select next/previous menu entry."),
24 kpress("Control+N", "WMenu.select_next(_)"),
25 kpress("Control+P", "WMenu.select_prev(_)"),
26 kpress("Up", "WMenu.select_prev(_)"),
27 kpress("Down", "WMenu.select_next(_)"),
29 bdoc("Clear the menu's typeahead find buffer."),
30 kpress("BackSpace", "WMenu.typeahead_clear(_)"),