Make behavior of Shift modifier consistent
Previously, Shift+o opened the menu for the currently playing item while Shift+x copied a link to the currently selected item. Now Shift operates on the currently playing item in both cases.
This commit is contained in:
committed by
Henrik Friedrichsen
parent
f6a895e160
commit
b0d2e8f62e
@@ -133,8 +133,8 @@ depending on your desktop environment settings. Have a look at the
|
|||||||
* `r` to toggle repeat mode
|
* `r` to toggle repeat mode
|
||||||
* `z` to toggle shuffle playback
|
* `z` to toggle shuffle playback
|
||||||
* `q` quits ncspot
|
* `q` quits ncspot
|
||||||
* `x` copies a sharable URL of the song to the system clipboard
|
* `x` copies a sharable URL of the currently selected item to the system clipboard
|
||||||
* `Shift-x` copies a sharable URL of the currently selected item to the system clipboard
|
* `Shift-x` copies a sharable URL of the currently playing track to the system clipboard
|
||||||
|
|
||||||
Use `/` to open a Vim-like search bar, you can use `n` and `N` to go for the next/previous
|
Use `/` to open a Vim-like search bar, you can use `n` and `N` to go for the next/previous
|
||||||
search occurrence, respectivly.
|
search occurrence, respectivly.
|
||||||
|
|||||||
@@ -376,8 +376,8 @@ impl CommandManager {
|
|||||||
|
|
||||||
kb.insert("r".into(), Command::Repeat(None));
|
kb.insert("r".into(), Command::Repeat(None));
|
||||||
kb.insert("z".into(), Command::Shuffle(None));
|
kb.insert("z".into(), Command::Shuffle(None));
|
||||||
kb.insert("x".into(), Command::Share(TargetMode::Current));
|
kb.insert("x".into(), Command::Share(TargetMode::Selected));
|
||||||
kb.insert("Shift+x".into(), Command::Share(TargetMode::Selected));
|
kb.insert("Shift+x".into(), Command::Share(TargetMode::Current));
|
||||||
|
|
||||||
kb.insert("F1".into(), Command::Focus("queue".into()));
|
kb.insert("F1".into(), Command::Focus("queue".into()));
|
||||||
kb.insert("F2".into(), Command::Focus("search".into()));
|
kb.insert("F2".into(), Command::Focus("search".into()));
|
||||||
|
|||||||
Reference in New Issue
Block a user