Commit: a25ab75455e076960476d497e679ca0c12d2d98a
Parent: 0491a67c875890898fbbc34c259390dde0770185
Author: rolyli
Date: Tue, 18 May 2021 03:14:13 +0100
Enable media update and overwrite options which are disabled by default
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -1579,9 +1579,8 @@ local main = (function()
-- Unset by default
mp.add_key_binding(nil, "mpvacious-set-starting-line", subs.set_starting_line)
mp.add_key_binding(nil, "mpvacious-reset-timings", subs.clear_and_notify)
- mp.add_key_binding(nil, "mpvacious-toggle-sub-autocopy", clip_autocopy.toggle)
- mp.add_key_binding(nil, "mpvacious-update-last-note", update_last_note)
-
+ mp.add_key_binding("ctrl+m", "mpvacious-update-last-note", _ {update_last_note, false})
+ mp.add_key_binding("ctrl+M", "mpvacious-overwrite-last-note", _ {update_last_note, true})
end
end)()