From 88d64aefd01c962554eae024c335974926961b27 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 22 Jan 2021 01:28:51 -0500 Subject: add sensible mpv keybindings --- .config/mpv/input.conf | 5 +++++ .config/mpv/scripts/modules.lua | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .config/mpv/input.conf create mode 100644 .config/mpv/scripts/modules.lua (limited to '.config/mpv') 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") -- cgit v1.2.3