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
+21
View File
@@ -0,0 +1,21 @@
from talon import Context, Module
mod = Module()
ctx = Context()
mod.apps.stata = r"""
os: windows
and app.name: Stata
os: windows
and app.exe: /^statase\-64\.exe$/i
"""
ctx.matches = r"""
app: stata
"""
@ctx.action_class("code")
class CodeActions:
def language():
return "stata"
@@ -0,0 +1,25 @@
# Commands for the Stata Do-File Editor
os: windows
app: stata
win.title: /^Do-file Editor/
-
do this: key(ctrl-d)
do line:
edit.select_line()
key(ctrl-d)
do (all | file):
edit.select_all()
edit.copy()
key(ctrl-d)
do way up:
edit.extend_file_start()
edit.copy()
key(ctrl-d)
do way down:
edit.extend_file_end()
edit.copy()
key(ctrl-d)