feature request: define and use constants in a talon file that can be used by multiple commands
jmegner opened this issue · comments
Jacob Egner commented
I would like to be able to define and use constants in a talon file that can be used by multiple commands in that talon file.
For instance, I was creating commands to open particular files in particular vscode projects, so I wanted to be able to do something like this:
talon = "talon-config-jme"
ktcalc = "KillTeam2021Calculator"
coder talon: user.vscode_focus(talon)
coder additional words: user.vscode_focus(talon, "settings/additional_words.csv")
coder words to replace: user.vscode_focus(talon, "settings/words_to_replace.csv")
# and more for talon project...
coder calc shoot: user.vscode_focus(ktcalc, "src/engine/Shoot.ts")
coder calc fight: user.vscode_focus(ktcalc, "src/engine/Fight.ts")
# and more for ktcalc...