Fix key bindings inconsistency (#627)

This commit is contained in:
Matheus Cardoso
2021-10-17 10:31:42 -03:00
committed by GitHub
parent 25505be540
commit 1ea2f0a434
2 changed files with 4 additions and 4 deletions

View File

@@ -125,9 +125,9 @@ depending on your desktop environment settings. Have a look at the
* "Similar tracks"
* `Shift-o` will open a context menu for the currently playing track
* `a` will open the album view for the selected item
* `A` will open the artist view for the selected item
* `Shift-a` will open the artist view for the selected item
* `m` will open a view with recommendations based on the selected item
* `M` will open a view with recommendations based on the currently playing track
* `Shift-m` will open a view with recommendations based on the currently playing track
* `Ctrl-v` will open the context menu for a Spotify link in your clipboard
* `Backspace` closes the current view
* `Shift-p` toggles playback of a track (play/pause)

View File

@@ -415,14 +415,14 @@ impl CommandManager {
kb.insert("o".into(), vec![Command::Open(TargetMode::Selected)]);
kb.insert("Shift+o".into(), vec![Command::Open(TargetMode::Current)]);
kb.insert("a".into(), vec![Command::Goto(GotoMode::Album)]);
kb.insert("A".into(), vec![Command::Goto(GotoMode::Artist)]);
kb.insert("Shift+a".into(), vec![Command::Goto(GotoMode::Artist)]);
kb.insert(
"m".into(),
vec![Command::ShowRecommendations(TargetMode::Selected)],
);
kb.insert(
"M".into(),
"Shift+m".into(),
vec![Command::ShowRecommendations(TargetMode::Current)],
);