

Intermediate keysĬan be remapped to ignore in order to avoid this issue. That matches, and the multi-key command will never be called. If a or a-b or b are already bound, this will run the first command

(This is not shown in the general command syntax.) For example:Ī-b-c show-text "command run after a, b, c have been pressed" You can bind multiple commands to one key. Multiple (or none) arguments, all separated by whitespace. Merely display the binding, even if mapped to quit.) (Only closing the window will make mpv exit, pressing normal keys will Mpv can be started in input test mode, which displays key bindings and theĬommands they're bound to on the OSD, instead of executing the commands: mpv -input-test -force-window -idle In general, keys can be combined with Shift, Ctrl and Alt: ctrl+q quit The default bindings areĪ list of special keys can be obtained with mpv -input-keylist The file is located in the mpv configuration directory (normally at ForĮxample, a maps to the a key without shift, and A maps to a Value (upper case if combined with Shift), or a name for special keys. LEFT seek 15 # map the left-arrow key to seeking forward by 15 secondsĮach line maps a key to an input command. The nf file consists of a list of key bindings, for example: s screenshot # take a screenshot with the s key (showing information with properties), JSON IPC, the client API ( libmpv),

To interact with the player use them: key bindings ( nf), OSD The mpv core can be controlled with commands and properties.
