aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--command.c6
-rw-r--r--command.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/command.c b/command.c
index cd2fd5338..67e1a6975 100644
--- a/command.c
+++ b/command.c
@@ -45,8 +45,8 @@ static command_definition_t cmds[] =
{ { 13, 0, 0 }, CMD_PLAY, "Play/Enter directory" },
{ { 'p', 0, 0 }, CMD_PAUSE, "Pause" },
{ { BS, ESC, 0 }, CMD_STOP, "Stop" },
- { { 'n', 0, 0 }, CMD_TRACK_NEXT, "Next song" },
- { { 'b', 0, 0 }, CMD_TRACK_PREVIOUS, "Previous song" },
+ { { '>', 0, 0 }, CMD_TRACK_NEXT, "Next song" },
+ { { '<', 0, 0 }, CMD_TRACK_PREVIOUS, "Previous song" },
{ { '+', RGHT, 0 }, CMD_VOLUME_UP, "Increase volume" },
{ { '-', LEFT, 0 }, CMD_VOLUME_DOWN, "Decrease volume" },
@@ -64,6 +64,8 @@ static command_definition_t cmds[] =
{ { END, 0, 0 }, CMD_LIST_LAST, "Move: End" },
{ { PGUP, 0, 0 }, CMD_LIST_PREVIOUS_PAGE, "Move: Page Up" },
{ { PGDN, 0, 0 }, CMD_LIST_NEXT_PAGE, "Move: Page Down" },
+ { { '/', 0, 0 }, CMD_LIST_FIND, "Find" },
+ { { 'n', 0, 0 }, CMD_LIST_FIND_NEXT, "Find Next" },
{ { TAB, 0, 0 }, CMD_SCREEN_NEXT, "Next screen" },
{ { STAB, 0, 0 }, CMD_SCREEN_PREVIOUS, "Previous screen" },
diff --git a/command.h b/command.h
index efb3c2721..1ad7b1dfe 100644
--- a/command.h
+++ b/command.h
@@ -21,6 +21,8 @@ typedef enum
CMD_LIST_LAST,
CMD_LIST_NEXT_PAGE,
CMD_LIST_PREVIOUS_PAGE,
+ CMD_LIST_FIND,
+ CMD_LIST_FIND_NEXT,
CMD_SCREEN_PREVIOUS,
CMD_SCREEN_NEXT,
CMD_SCREEN_PLAY,