Scroll to navigation

kitten-@(1) kitten Manual kitten-@(1)

Name

kitten-@ - Control kitty remotely

Usage

kitten @ [global options] [sub-command] [sub-command options] [sub-command args]

Description

Control kitty by sending it commands. Set the allow_remote_control option in kitty.conf for this to work. When run without any sub-commands this will start an interactive shell to control kitty.

Commands

Close the specified tabs. See:
Close the specified windows. See:
Create a marker that highlights specified text. See:
Detach the specified tabs and place them in a different/new OS window. See:
Detach the specified windows and place them in a different/new tab. See:
Control ligature rendering. See:
Change environment variables seen by future children. See:
Focus the specified tab. See:
Focus the specified window. See:
Get terminal colors. See:
Get text from the specified window. See:
Set the window layout. See:
Run a kitten. See:
Switch to the last used layout. See:
Run an arbitrary process in a new window/tab. See:
List tabs/windows. See:
Open new window. See:
Remove the currently set marker, if any.. See:
Resize the specified OS Windows. See:
Resize the specified windows. See:
Scroll the specified windows. See:
Visually select a window in the specified tab. See:
Send arbitrary text to specified windows. See:
Set the background image. See:
Set the background opacity. See:
Set terminal colors. See:
Set the enabled layouts in tabs. See:
Set the font size in the active top-level OS window. See:
Set window paddings and margins. See:
Change the color of the specified tabs in the tab bar. See:
Set the tab title. See:
Set user variables on a window. See:
Set the window logo. See:
Set the window title. See:
Send a signal to the foreground process in the specified windows. See:

Get help for an individual command by running:

kitten @ command -h

Global options

An address for the kitty instance to control. Corresponds to the address given to the kitty instance via the --listen-on option or the listen_on setting in kitty.conf. If not specified, the environment variable KITTY_LISTEN_ON is checked. If that is also not found, messages are sent to the controlling terminal for this process, i.e. they will only work if this process is run within a kitty window.
A password to use when contacting kitty. This will cause kitty to ask the user for permission to perform the specified action, unless the password has been accepted before or is pre-configured in kitty.conf.
A file from which to read the password. Trailing whitespace is ignored. Relative paths are resolved from the kitty configuration directory. Use - to read from STDIN. Used if no --password is supplied. Defaults to checking for the rc-pass file in the kitty configuration directory.
The name of an environment variable to read the password from. Used if no --password-file is supplied. Defaults to checking the environment variable KITTY_RC_PASSWORD.
If no password is available, kitty will usually just send the remote control command without a password. This option can be used to force it to always or never use the supplied password.

Choices: if-available, always, never

Options

Show help for this command
December 25, 2023 0.31.0