summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--nncmpp.adoc4
-rw-r--r--nncmpp.c4
3 files changed, 6 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index a33f735..459689d 100644
--- a/NEWS
+++ b/NEWS
@@ -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"
}
....
diff --git a/nncmpp.c b/nncmpp.c
index e05af0b..5ea6543 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -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[] =
{