]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - multimedia/mpv/input.conf
Move to multimedia/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / multimedia / mpv / input.conf
diff --git a/multimedia/mpv/input.conf b/multimedia/mpv/input.conf
new file mode 100644 (file)
index 0000000..bf52fc2
--- /dev/null
@@ -0,0 +1,50 @@
+# Mpv input binding file.
+
+# Copyright (C) 2014  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
+
+# First restore many useful mappings which were dropped in 0.5.0.
+o     osd                       # cycle through OSD modes
+RIGHT seek  10
+LEFT  seek -10
+PGUP  seek  600
+PGDWN seek -600
++     add audio-delay  0.100    # change audio/video sync
+-     add audio-delay -0.100
+(     add balance -0.1          # change audio balance
+)     add balance  0.1
+
+# "Legacy bindings (may or may not be removed in the future)". Bind them here
+# so they won't get removed.
+! add chapter -1                # skip to previous chapter
+@ add chapter  1                #         next
+
+# Fix ENTER to quit mpv when playing the last file, changed in 0.7.0. Thanks
+# to rossy in #mpv on Freenode (2014-12-07 06:14 CET) for the suggestion how
+# to restore the old behavior.
+ENTER playlist_next force
+
+
+# Unbind keys I sometimes hit accidentally and don't need.
+_ ignore # was cycle video
+[ ignore # was scale playback speed
+] ignore # dito
+{ ignore # dito
+} ignore # dito
+
+# Short seeks.
+Shift+RIGHT seek  5 - exact
+Shift+LEFT  seek -5 - exact