terminator
The community/apps/terminator directory contains configuration for the Terminator terminal emulator on Linux.
The most important file here is terminator_linux.py, which defines Talon bindings for Terminator. It works by defining a Talon Module named terminator and a Context that activates when the current application is Terminator. The context applies the following tags:
terminal: Generic terminal functionality.user.tabs: Tab management.user.splits: Window splitting.user.generic_unix_shell: Generic unix shell functionality.user.git: Git commands.user.kubectl: Kubectl commands.
The file implements actions in several action classes.
- The
useraction class implements actions that typically start withuser.. These actions are custom actions defined in the user's configuration, and here they are implementing split window actions using the keyboard shortcuts that Terminator provides. For example,split_window_rightexecutesalt-right. - The
appaction class implements actions that typically start withapp.. These implement tab management actions, such astab_openwhich executesctrl-shift-t. It also overwrites thewindow_openandwindow_closeactions fromlinux/app.py. - The
editaction class implements actions that typically start withedit., such as thepastecommand that executesctrl-shift-v. These actions overwrite theeditactions fromlinux/edit.py.