diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-05-30 15:15:20 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-05-30 15:17:04 +0200 |
commit | f05be01fba0113c324e0051b8997ef8c2ed90722 (patch) | |
tree | 56148dfd6c0f3d88c2b43149c419984870ed1972 | |
parent | 14dba91dd1b13f1839687c3cd37c245768d36b95 (diff) | |
download | nncmpp-f05be01fba0113c324e0051b8997ef8c2ed90722.tar.gz nncmpp-f05be01fba0113c324e0051b8997ef8c2ed90722.tar.xz nncmpp-f05be01fba0113c324e0051b8997ef8c2ed90722.zip |
Change volume adjustment key bindings
Use the much more obvious ones.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | nncmpp.adoc | 4 | ||||
-rw-r--r-- | nncmpp.c | 4 |
3 files changed, 6 insertions, 4 deletions
@@ -15,6 +15,8 @@ Unreleased * Added Readline-like M-u, M-l, M-c editor bindings + * Changed volume adjustment bindings to use +/- keys + 2.0.0 (2022-09-03) diff --git a/nncmpp.adoc b/nncmpp.adoc index 5b1cfdb..2fc8361 100644 --- a/nncmpp.adoc +++ b/nncmpp.adoc @@ -117,8 +117,8 @@ as in the snippet above. To replace the default volume control bindings, use: .... normal = { - "M-PageUp" = "pulse-volume-up" - "M-PageDown" = "pulse-volume-down" + "+" = "pulse-volume-up" + "-" = "pulse-volume-down" } .... @@ -3073,8 +3073,8 @@ g_normal_defaults[] = { "Space", ACTION_MPD_TOGGLE }, { "C-Space", ACTION_MPD_STOP }, { "u", ACTION_MPD_UPDATE_DB }, - { "M-PageUp", ACTION_MPD_VOLUME_UP }, - { "M-PageDown", ACTION_MPD_VOLUME_DOWN }, + { "+", ACTION_MPD_VOLUME_UP }, + { "-", ACTION_MPD_VOLUME_DOWN }, }, g_editor_defaults[] = { |