Vim style menu navigation in addition to arrow keys

Is there a reason it shouldn't be on by default? I'm not familiar enough with the code-base to tell if it will clash with anything.
This commit is contained in:
findkiko 2014-11-30 15:27:28 -08:00
parent bbbfcf126a
commit 6f5ec2abe7
1 changed files with 4 additions and 4 deletions

View File

@ -56,11 +56,11 @@ end
-- key to up action. This is common to all created menu.
-- @class table
-- @name menu_keys
menu.menu_keys = { up = { "Up" },
down = { "Down" },
back = { "Left" },
menu.menu_keys = { up = { "Up", "k" },
down = { "Down", "j" },
back = { "Left", "h" },
exec = { "Return" },
enter = { "Right" },
enter = { "Right", "l" },
close = { "Escape" } }