aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-11-12 16:47:46 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-11-12 16:47:46 +0300
commit7b079d20ab5a4bd29a0edb027c159cc6a3de8ce5 (patch)
tree99aabe703c8aa489777ea5eea7b8ece4297a5557
parentffcb43e5882056f583ca251c811d348fb7acd6c8 (diff)
downloadswayrice-7b079d20ab5a4bd29a0edb027c159cc6a3de8ce5.tar.gz
swayrice-7b079d20ab5a4bd29a0edb027c159cc6a3de8ce5.zip
mpv: key bindings changes
-rw-r--r--dotfiles/.config/mpv/input.conf20
1 files changed, 15 insertions, 5 deletions
diff --git a/dotfiles/.config/mpv/input.conf b/dotfiles/.config/mpv/input.conf
index e8b1144..81997b0 100644
--- a/dotfiles/.config/mpv/input.conf
+++ b/dotfiles/.config/mpv/input.conf
@@ -192,9 +192,19 @@
# ? cycle program # cycle transport stream programs
# ? stop # stop playback (quit or enter idle mode)
-l seek 5
-h seek -5
-j seek -60
-k seek 60
+h seek -5 exact
+l seek 5 exact
+H seek -60 exact
+L seek 60 exact
+Ctrl+h seek -1 exact
+Ctrl+l seek 1 exact
+Alt+l ab-loop # Set/clear A-B loop points
+Alt+L cycle-values loop "inf" "no" # toggle infinite looping
+
+j add volume -2
+k add volume 2
+
s cycle sub
-a cycle audio # switch audio streams
+S cycle sub down
+a cycle audio
+A cycle audio down