diff options
author | Florrie <towerofnix@gmail.com> | 2019-08-25 13:14:18 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-08-25 13:14:18 -0300 |
commit | 0021f66a44f5d851841249f6b74ca2f4acaa6e10 (patch) | |
tree | 4a45181942f0ab884c9c432fc3e5ac963146c521 | |
parent | ee6cde59c84ee8704239ff492d5448d61032daf2 (diff) |
Use control+up/down to play next/previous tracks
...instead of shift+up/down, which I'm going to make select items in listings (ala graphical file browsers).
-rw-r--r-- | README.md | 4 | ||||
m--------- | tui-lib | 0 | ||||
-rw-r--r-- | ui.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md index 1d444b0..b410956 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ You're also welcome to share any ideas, suggestions, and questions through there * <kbd>[</kbd> - focus the main track/group listing * <kbd>]</kbd> - focus the queue listing * <kbd>Enter</kbd> - play the selected track -* <kbd><kbd>Shift</kbd>+<kbd>Up</kbd></kbd> or <kbd>p</kbd> - play previous track -* <kbd><kbd>Shift</kbd>+<kbd>Down</kbd></kbd> or <kbd>n</kbd> - play next track +* <kbd><kbd>Ctrl</kbd>+<kbd>Up</kbd></kbd> or <kbd>p</kbd> - play previous track +* <kbd><kbd>Ctrl</kbd>+<kbd>Down</kbd></kbd> or <kbd>n</kbd> - play next track * <kbd>Space</kbd> - toggle pause * <kbd>Escape</kbd> - stop playing the current track * <kbd>l</kbd> - toggle track loop diff --git a/tui-lib b/tui-lib -Subproject ddd817edd8d78311f811f3d0d06b138c0b29555 +Subproject acb8c05987c72ceca423acf2f5761a50f641d1f diff --git a/ui.js b/ui.js index f04b922..13f115b 100644 --- a/ui.js +++ b/ui.js @@ -63,8 +63,8 @@ const keyBindings = [ ['isStop', telc.isEscape], ['isVolumeUp', 'v', {caseless: false}], ['isVolumeDown', 'V', {caseless: false}], - ['isSkipBack', telc.isShiftUp], - ['isSkipAhead', telc.isShiftDown], + ['isSkipBack', telc.isControlUp], + ['isSkipAhead', telc.isControlDown], ['isSkipBack', 'p'], ['isSkipAhead', 'n'], ['isFocusTabber', '['], @@ -78,7 +78,7 @@ const keyBindings = [ ['isShuffleQueue', 's'], ['isClearQueue', 'c'], ['isFocusMenubar', ';'], - ['isFocusLabels', 'l'], + ['isFocusLabels', 'l'], // *** conflicts with isToggleLoop!!! must change this // Number pad ['isUp', '8'], |