diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2021-01-22 01:28:51 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2021-01-22 01:28:51 -0500 |
commit | 88d64aefd01c962554eae024c335974926961b27 (patch) | |
tree | 636c2a21fcc1fe8c62357aaf350bd4bf48ced32d | |
parent | 3a6483c9b825b6204922f3925dad13d77ce02b23 (diff) |
add sensible mpv keybindings
-rw-r--r-- | .config/mpv/input.conf | 5 | ||||
-rw-r--r-- | .config/mpv/scripts/modules.lua | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..d614b15 --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,5 @@ +l seek 5 +h seek -5 +j seek -60 +k seek 60 +S cycle sub diff --git a/.config/mpv/scripts/modules.lua b/.config/mpv/scripts/modules.lua new file mode 100644 index 0000000..37b69b3 --- /dev/null +++ b/.config/mpv/scripts/modules.lua @@ -0,0 +1,3 @@ +local mpv_scripts_dir_path = os.getenv("HOME") .. "/.config/mpv/scripts/" +function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end +load("mpvSockets/mpvSockets.lua") |