Skip to content

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 with user.. 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 executes alt-right.
  • The app action class implements actions that typically start with app.. These implement tab management actions, such as tab_open which executes ctrl-shift-t. It also overwrites the window_open and window_close actions from linux/app.py.
  • The edit action class implements actions that typically start with edit., such as the paste command that executes ctrl-shift-v. These actions overwrite the edit actions from linux/edit.py.