Go to end, start

This commit is contained in:
Krzosa Karol
2025-05-05 10:18:33 +02:00
parent 556b05cb78
commit 8fc1081cef
5 changed files with 26 additions and 9 deletions

View File

@@ -221,6 +221,10 @@ function ApplyRules(s)
return nil
end
function CFiles()
Cmd({working_dir = GetProjectPath(), destination ="a", cmd = "dir /s/b | findstr .*\\.c"})
end
Coroutines = {}
function AddCo(f)
local i = #Coroutines + 1
@@ -233,6 +237,8 @@ OnCommandCallbacks = {}
table.insert(OnCommandCallbacks, function (e)
if e.key == SDLK_F and e.ctrl == 1 and e.shift == 1 then
C("git grep -n "..GetLoadWord().." :/") end
if e.key == SDLK_B and e.ctrl == 1 then
Cmd { working_dir = GetProjectPath(), destination = "console", cmd = "build.bat" } end
end)
function OnUpdate(e)