init commit

This commit is contained in:
unknown
2025-08-19 08:06:37 -04:00
commit 2957b5515a
743 changed files with 45495 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from talon import Context, actions
ctx = Context()
ctx.matches = r"""
code.language: batch
"""
@ctx.action_class("user")
class UserActions:
def code_comment_line_prefix():
actions.user.insert_snippet_by_name("commentLine")
+16
View File
@@ -0,0 +1,16 @@
code.language: batch
-
tag(): user.code_comment_line
# exit without killing cmd shell
soft exit: "exit /B 1\n"
# exit with killing cmd shell
hard exit: "exit 1\n"
echo: "echo "
echo off: "@echo off\n"
call: "call "
call shell: "call cmd \\c "
if error: "if errorlevel 1 "
go to: "goto "
delayed expansion: "SETLOCAL EnableDelayedExpansion\n"
arg <number_small>: "%{number_small}"