Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add new readline shortcuts to help menu
  • Loading branch information
fratajczak committed May 4, 2020
commit 9bf6a280def5ac33283404d6e9a45f3902b0c5b2
13 changes: 12 additions & 1 deletion src/ui/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ pub fn get_help_docs() -> Vec<Vec<&'static str>> {
"Selected block",
],
vec!["Play all tracks for artist", "e", "Library -> Artists"],
vec!["Delete entire input", "<Ctrl+u>", "Search input"],
vec!["Search with input text", "<Enter>", "Search input"],
vec![
"Move cursor one space left",
Expand All @@ -75,6 +74,18 @@ pub fn get_help_docs() -> Vec<Vec<&'static str>> {
"<Right Arrow Key>",
"Search input",
],
vec!["Delete entire input", "<Ctrl+l>", "Search input"],
vec![
"Delete text from cursor to start of input",
"<Ctrl+u>",
"Search input",
],
vec![
"Delete text from cursor to end of input",
"<Ctrl+k>",
"Search input",
],
vec!["Delete previous word", "<Ctrl+w>", "Search input"],
vec!["Jump to start of input", "<Ctrl+a>", "Search input"],
vec!["Jump to end of input", "<Ctrl+e>", "Search input"],
vec![
Expand Down