]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - multimedia/mpv/input.conf
Merge branch 'multimedia'
[config/dotfiles.git] / multimedia / mpv / input.conf
1 # Mpv input binding file.
2
3 # Copyright (C) 2014  Simon Ruderich
4 #
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 # First restore many useful mappings which were dropped in 0.5.0.
20 o     osd                       # cycle through OSD modes
21 RIGHT seek  10
22 LEFT  seek -10
23 PGUP  seek  600
24 PGDWN seek -600
25 +     add audio-delay  0.100    # change audio/video sync
26 -     add audio-delay -0.100
27 (     add balance -0.1          # change audio balance
28 )     add balance  0.1
29
30 # "Legacy bindings (may or may not be removed in the future)". Bind them here
31 # so they won't get removed.
32 ! add chapter -1                # skip to previous chapter
33 @ add chapter  1                #         next
34
35 # Fix ENTER to quit mpv when playing the last file, changed in 0.7.0. Thanks
36 # to rossy in #mpv on Freenode (2014-12-07 06:14 CET) for the suggestion how
37 # to restore the old behavior.
38 ENTER playlist_next force
39
40
41 # Unbind keys I sometimes hit accidentally and don't need.
42 _ ignore # was cycle video
43 [ ignore # was scale playback speed
44 ] ignore # dito
45 { ignore # dito
46 } ignore # dito
47
48 # Short seeks.
49 Shift+RIGHT seek  5 - exact
50 Shift+LEFT  seek -5 - exact