init commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
from talon import Context, Module, actions
|
||||
|
||||
ctx = Context()
|
||||
mod = Module()
|
||||
|
||||
mod.apps.iterm2 = """
|
||||
os: mac
|
||||
and app.bundle: com.googlecode.iterm2
|
||||
"""
|
||||
ctx.matches = r"""
|
||||
app: iterm2
|
||||
"""
|
||||
|
||||
directories_to_remap = {}
|
||||
directories_to_exclude = {}
|
||||
|
||||
|
||||
@ctx.action_class("user")
|
||||
class UserActions:
|
||||
def tab_jump(number: int):
|
||||
actions.key(f"cmd-{number}")
|
||||
|
||||
def tab_final():
|
||||
actions.key("cmd-9")
|
||||
|
||||
def terminal_clear_screen():
|
||||
"""Clear screen"""
|
||||
actions.key("ctrl-l")
|
||||
@@ -0,0 +1,11 @@
|
||||
os: mac
|
||||
app: iterm2
|
||||
-
|
||||
tag(): terminal
|
||||
# todo: filemanager support
|
||||
#tag(): user.file_manager
|
||||
tag(): user.generic_unix_shell
|
||||
tag(): user.git
|
||||
tag(): user.kubectl
|
||||
tag(): user.tabs
|
||||
tag(): user.readline
|
||||
Reference in New Issue
Block a user