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 committed by Uli Schlachter
parent 02be8943db
commit 87230862d5
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. -- key to up action. This is common to all created menu.
-- @class table -- @class table
-- @name menu_keys -- @name menu_keys
menu.menu_keys = { up = { "Up" }, menu.menu_keys = { up = { "Up", "k" },
down = { "Down" }, down = { "Down", "j" },
back = { "Left" }, back = { "Left", "h" },
exec = { "Return" }, exec = { "Return" },
enter = { "Right" }, enter = { "Right", "l" },
close = { "Escape" } } close = { "Escape" } }