[mpv] Add key configuration
Added somewhat vim-like key configuration. Added context-menu opened with menu key on keyboard. Fixes #100
This commit is contained in:
parent
9c98605f98
commit
dd61ca7aa9
2 changed files with 51 additions and 0 deletions
49
mpv/.config/mpv/input.conf
Normal file
49
mpv/.config/mpv/input.conf
Normal file
|
@ -0,0 +1,49 @@
|
|||
q quit
|
||||
|
||||
l seek 5
|
||||
L seek 60
|
||||
h seek -5
|
||||
H seek -60
|
||||
|
||||
p cycle pause # play/pause
|
||||
|
||||
J playlist-next
|
||||
K playlist-prev
|
||||
k add volume 5
|
||||
j add volume -5
|
||||
|
||||
+ add volume 2
|
||||
- add volume -2
|
||||
|
||||
a add speed 0.1
|
||||
A add speed -0.1
|
||||
|
||||
d add audio-delay 0.100 # for unsynched audio video
|
||||
D add audio-delay -0.100
|
||||
|
||||
u add sub-delay -0.1 # subtract 100 ms delay from subs
|
||||
U add sub-delay +0.1 # add
|
||||
|
||||
s cycle sub # choose subtitles
|
||||
S cycle sub down # choose subtitles (reverse)
|
||||
|
||||
f cycle fullscreen # toggle fullscreen
|
||||
|
||||
F5 async screenshot # take a screenshot
|
||||
Shift+F5 async screenshot video # screenshot without subtitles
|
||||
|
||||
i show-text ${playlist} # diplay osd playlist
|
||||
R cycle-values video-aspect "16:9" "4:3" "3.25:1" "no" "-1" # cycle aspect ratios
|
||||
|
||||
# uosc definitions and menu
|
||||
o script-binding uosc/peek-timeline
|
||||
menu script-binding uosc/menu
|
||||
|
||||
# script-binding uosc/open-file #! Open file
|
||||
# script-binding uosc/load-subtitles #! Load subtitles
|
||||
# script-binding uosc/subtitles #! Select subtitles
|
||||
# script-binding uosc/audio #! Select audio
|
||||
# async screenshot #! Utils > Screenshot
|
||||
# script-binding uosc/playlist #! Utils > Playlist
|
||||
# script-binding uosc/chapters #! Utils > Chapters
|
||||
# script-binding uosc/open-config-directory #! Utils > Open config directory
|
|
@ -11,3 +11,5 @@ mpv is set up to hopefully strike a balance between high quality playback, strea
|
|||
* playback position is *not* saved for every file by default, but can be used when quitting with shift-q (default mpv behavior)
|
||||
* streaming video is optimized for a 1080p display, it will avoid qualities higher than that if possible
|
||||
* default video is adjusted for playback during the day, in a normally lit room
|
||||
* simple context menu (opened with `menu` key on keyboard) to load files, subtitles, chapters, and more
|
||||
* newly defined keybindings, look in `input.conf` for their definitions
|
||||
|
|
Loading…
Reference in a new issue