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
user
action 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_right
executesalt-right
. - The
app
action class implements actions that typically start withapp.
. These implement tab management actions, such astab_open
which executesctrl-shift-t
. It also overwrites thewindow_open
andwindow_close
actions fromlinux/app.py
. - The
edit
action class implements actions that typically start withedit.
, such as thepaste
command that executesctrl-shift-v
. These actions overwrite theedit
actions fromlinux/edit.py
.