input.conf: bind ? to show key bindings

This should help new users to view mpv's key bindings as it's easier to
discover than shift+i and 4, because many other websites and terminal
applications show key bindings upon pressing ?.
This commit is contained in:
Guido Cella 2024-10-14 20:30:31 +02:00 committed by Kacper Michajłow
parent 661bd61af8
commit 23e774d514
3 changed files with 8 additions and 1 deletions

View File

@ -47,7 +47,8 @@ See `COMMAND INTERFACE`_ and `Key names`_ sections for more details on
configuring keybindings.
See also ``--input-test`` for interactive binding details by key, and the
`stats`_ built-in script for key bindings list (including print to terminal).
`stats`_ built-in script for key bindings list (including print to terminal). By
default, the ? key toggles the display of this list.
Keyboard Control
----------------
@ -240,6 +241,10 @@ i and I
file such as codec, framerate, number of dropped frames and so on. See
`STATS`_ for more information.
?
Toggle an overlay displaying the active key bindings. See `STATS`_ for more
information.
DEL
Cycle OSC visibility between never / auto (mouse-move) / always

View File

@ -14,6 +14,7 @@ already bound to them:
==== ==============================================
i Show stats for a fixed duration
I Toggle stats (shown until toggled again)
? Toggle displaying the key bindings
==== ==============================================
While the stats are visible on screen the following key bindings are active,

View File

@ -96,6 +96,7 @@
#P show-progress # show playback progress
#i script-binding stats/display-stats # display information and statistics
#I script-binding stats/display-stats-toggle # toggle displaying information and statistics
#? script-binding stats/display-page-4-toggle # toggle displaying key bindings
#` script-binding console/enable # open the console
#z add sub-delay -0.1 # shift subtitles 100 ms earlier
#Z add sub-delay +0.1 # delay subtitles by 100 ms