[aegisub] update keybindings
This commit is contained in:
parent
4c481ffc38
commit
1a3506b88b
24
.aegisub/automation/autoload/frz_endro.lua
Normal file
24
.aegisub/automation/autoload/frz_endro.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
local tr = aegisub.gettext
|
||||
|
||||
script_name = tr"frz endro"
|
||||
script_description = tr"probably won't be useful anytime soon"
|
||||
script_author = "amoethyst"
|
||||
script_version = "1.0"
|
||||
|
||||
function frz_combo(subs, sel)
|
||||
|
||||
local expr = "frz([0-9.-]+)"
|
||||
|
||||
for _, i in ipairs(sel) do
|
||||
line = subs[i]
|
||||
aegisub.log(line.text)
|
||||
frz_text = line.text:match(expr)
|
||||
aegisub.log(frz_text)
|
||||
frz = tonumber(frz_text) * -1
|
||||
line.text = line.text .. "{\\frz"..frz.."}"
|
||||
subs[i] = line
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
aegisub.register_macro(script_name, script_description, frz_combo)
|
|
@ -147,6 +147,9 @@
|
|||
"automation/lua/ua.ChangeCase/Change Case" : [
|
||||
"Ctrl-Shift-C"
|
||||
],
|
||||
"automation/lua/ua.Cycles/Cycles/Blur Cycle" : [
|
||||
"Ctrl-B"
|
||||
],
|
||||
"automation/lua/ua.HYDRA/HYDRA" : [
|
||||
"Ctrl-Shift-H"
|
||||
],
|
||||
|
@ -325,12 +328,21 @@
|
|||
]
|
||||
},
|
||||
"Subtitle Grid" : {
|
||||
"automation/lua/lyger.GradientByChar/Gradient by character/Apply Gradient" : [
|
||||
"Ctrl-Shift-G"
|
||||
],
|
||||
"edit/line/join/concatenate" : [
|
||||
"Ctrl-Alt-J"
|
||||
],
|
||||
"subtitle/select/all" : [
|
||||
"Ctrl-A"
|
||||
],
|
||||
"time/snap/end_video" : [
|
||||
"Ctrl-Shift-Right"
|
||||
],
|
||||
"time/snap/start_video" : [
|
||||
"Ctrl-Shift-Left"
|
||||
],
|
||||
"video/frame/next" : [
|
||||
"Right"
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue