Changed 'seek' keybinding to match ncmpcpp and added fast-seek
This commit is contained in:
@@ -80,7 +80,8 @@ have them configurable.
|
|||||||
* `Shift-s` stops a track
|
* `Shift-s` stops a track
|
||||||
* `Shift-u` updates the library cache (tracks, artists, albums, playlists)
|
* `Shift-u` updates the library cache (tracks, artists, albums, playlists)
|
||||||
* `<` and `>` play the previous or next track
|
* `<` and `>` play the previous or next track
|
||||||
* `,` and `.` to rewind or skip forward
|
* `f` and `b` to seek forward or backward
|
||||||
|
* `Shift-f` and `Shift-b` to seek forward or backward in steps of 10s
|
||||||
* `-` and `+` decrease or increase the volume
|
* `-` and `+` decrease or increase the volume
|
||||||
* `r` to toggle repeat mode
|
* `r` to toggle repeat mode
|
||||||
* `z` to toggle shuffle playback
|
* `z` to toggle shuffle playback
|
||||||
|
|||||||
@@ -211,8 +211,10 @@ impl CommandManager {
|
|||||||
kb.insert("Ctrl+s".into(), Command::SaveQueue);
|
kb.insert("Ctrl+s".into(), Command::SaveQueue);
|
||||||
kb.insert("d".into(), Command::Delete);
|
kb.insert("d".into(), Command::Delete);
|
||||||
kb.insert("/".into(), Command::Focus("search".into()));
|
kb.insert("/".into(), Command::Focus("search".into()));
|
||||||
kb.insert(".".into(), Command::Seek(SeekDirection::Relative(500)));
|
kb.insert("f".into(), Command::Seek(SeekDirection::Relative(1000)));
|
||||||
kb.insert(",".into(), Command::Seek(SeekDirection::Relative(-500)));
|
kb.insert("b".into(), Command::Seek(SeekDirection::Relative(-1000)));
|
||||||
|
kb.insert("Shift+f".into(), Command::Seek(SeekDirection::Relative(10000)));
|
||||||
|
kb.insert("Shift+b".into(), Command::Seek(SeekDirection::Relative(-10000)));
|
||||||
kb.insert("+".into(), Command::VolumeUp);
|
kb.insert("+".into(), Command::VolumeUp);
|
||||||
kb.insert("-".into(), Command::VolumeDown);
|
kb.insert("-".into(), Command::VolumeDown);
|
||||||
kb.insert("r".into(), Command::Repeat(None));
|
kb.insert("r".into(), Command::Repeat(None));
|
||||||
|
|||||||
Reference in New Issue
Block a user