From: Kalle Wallin Date: Tue, 6 Apr 2004 08:57:46 +0000 (+0000) Subject: Added alternate key bindings for Up,Down to enable irpty control. X-Git-Tag: v0.12_alpha1~604 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=040f46a4a54a6d641601ad19107c987a3f1f8d31;p=ncmpc.git Added alternate key bindings for Up,Down to enable irpty control. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@610 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/command.c b/command.c index f3e129f..c6444c9 100644 --- a/command.c +++ b/command.c @@ -54,7 +54,7 @@ static command_definition_t cmds[] = { { 'w', 0, 0 }, CMD_TOGGLE_FIND_WRAP, "Toggle find mode" }, { { 'U', 0, 0 }, CMD_TOGGLE_AUTOCENTER, "Toggle auto center mode" }, - { { ' ', 0, 0 }, CMD_SELECT, "Select/deselect song in playlist" }, + { { ' ', 'a', 0 }, CMD_SELECT, "Select/deselect song in playlist" }, { { DEL, 'd', 0 }, CMD_DELETE, "Delete song from playlist" }, { { 'Z', 0, 0 }, CMD_SHUFFLE, "Shuffle playlist" }, { { 'c', 0, 0 }, CMD_CLEAR, "Clear playlist" }, @@ -62,8 +62,8 @@ static command_definition_t cmds[] = { { 'z', 0, 0 }, CMD_RANDOM, "Toggle random mode" }, { { 'S', 0, 0 }, CMD_SAVE_PLAYLIST, "Save playlist" }, - { { UP, 0, 0 }, CMD_LIST_PREVIOUS, "Move: Up" }, - { { DWN, 0, 0 }, CMD_LIST_NEXT, "Move: Down" }, + { { UP, ',', 0 }, CMD_LIST_PREVIOUS, "Move: Up" }, + { { DWN, '.', 0 }, CMD_LIST_NEXT, "Move: Down" }, { { HOME, 0x01, 0 }, CMD_LIST_FIRST, "Move: Home" }, { { END, 0x05, 0 }, CMD_LIST_LAST, "Move: End" }, { { PGUP, 'A', 0 }, CMD_LIST_PREVIOUS_PAGE, "Move: Page Up" },