From 1ea2f0a43427c68fe777fc6fc77349b1b4c90186 Mon Sep 17 00:00:00 2001 From: Matheus Cardoso <45436839+Cardosaum@users.noreply.github.com> Date: Sun, 17 Oct 2021 10:31:42 -0300 Subject: [PATCH] Fix key bindings inconsistency (#627) --- README.md | 4 ++-- src/commands.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f37e371..c61751a 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/commands.rs b/src/commands.rs index eac01a2..0520451 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -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)], );