commit 1df18a3a5b0364e6c9dfa26db928a0624f7fe0fb
parent c33e5029f545a234d6866f4546606ee377680623
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Fri, 4 Sep 2020 23:12:51 -0700
Reconfigure and format
pad positive numbers to be the same indentation as negitives numbers.
bind zoom keys to 'r', 'e', and 'w' (same as vimb).
denounce section headings with a trailing colen.
Diffstat:
1 file changed, 31 insertions(+), 36 deletions(-)
diff --git a/mpv/.config/mpv/input.conf b/mpv/.config/mpv/input.conf
@@ -1,59 +1,54 @@
# mpv input config, roughly vi keybindings.
-# keybind testing: --input-test --force-window --idle
-
-# exit
-CLOSE_WIN quit
ctrl+c quit 4
q quit
s quit-watch-later
-# overlay
-ctrl+p show-progress
-ctrl+h script-binding stats/display-stats-toggle
-: script-binding console/enable
-
-# toggle values
+# toggle:
p cycle pause
m cycle mute
v cycle video
f cycle fullscreen
S cycle-values video-unscaled "yes" "no"
-# seeking
-, frame-back-step
-. frame-step
+# overlay:
+alt+p show-progress
+alt+h script-binding stats/display-stats-toggle
+: script-binding console/enable
-l seek 1
-h seek -1
-k seek 8
+# seek:
+shift+l frame-step
+shift+h frame-back-step
+l seek 2
+h seek -2
+k seek 8
j seek -8
-w seek 32
+w seek 32
b seek -32
-ctrl+u seek 128
+ctrl+u seek 128
ctrl+d seek -128
-ctrl+f seek 256
+ctrl+f seek 256
ctrl+b seek -256
G seek -0.01 absolute
-g seek 0 absolute
+g seek 0.00 absolute
-# zoom and pan
+# pan:
ctrl+h add video-pan-x -0.1
ctrl+l add video-pan-x 0.1
ctrl+k add video-pan-y -0.1
ctrl+j add video-pan-y 0.1
-ctrl+i add video-zoom 0.1
-ctrl+o add video-zoom -0.1
-# reset
-ctrl+; set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0
-
-# playback speed
-o add speed 0.1
-i add speed -0.1
-shift+o multiply speed 1.1
-shift+i multiply speed 1/1.1
-= set speed 1.0
-
-# audio video sync
-ctrl+. add audio-delay 0.100
-ctrl+, add audio-delay -0.100
+ctrl+enter set video-pan-x 0; set video-pan-y 0
+
+# zoom:
+ctrl+r add video-zoom 0.1
+ctrl+e add video-zoom -0.1
+ctrl+w set video-zoom 1
+
+# playback speed:
+r add speed 0.1
+e add speed -0.1
+w set speed 1.0
+
+# audio seek:
+alt+l add audio-delay 0.100
+alt+h add audio-delay -0.100