table of contents
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¶
- action
- Run the specified mappable action. See:
- close-tab
- Close the specified tabs. See:
- close-window
- Close the specified windows. See:
- create-marker
- Create a marker that highlights specified text. See:
- detach-tab
- Detach the specified tabs and place them in a different/new OS window. See:
- detach-window
- Detach the specified windows and place them in a different/new tab. See:
- disable-ligatures
- Control ligature rendering. See:
- env
- Change environment variables seen by future children. See:
- focus-tab
- Focus the specified tab. See:
- focus-window
- Focus the specified window. See:
- get-colors
- Get terminal colors. See:
- get-text
- Get text from the specified window. See:
- goto-layout
- Set the window layout. See:
- kitten
- Run a kitten. See:
- last-used-layout
- Switch to the last used layout. See:
- launch
- Run an arbitrary process in a new window/tab. See:
- load-config
- (Re)load a config file. See:
- ls
- List tabs/windows. See:
- new-window
- Open new window. See:
- remove-marker
- Remove the currently set marker, if any.. See:
- resize-os-window
- Resize the specified OS Windows. See:
- resize-window
- Resize the specified windows. See:
- run
- Run a program on the computer in which kitty is running and get the output. See:
- scroll-window
- Scroll the specified windows. See:
- select-window
- Visually select a window in the specified tab. See:
- send-key
- Send arbitrary key presses to the specified windows. See:
- send-text
- Send arbitrary text to specified windows. See:
- set-background-image
- Set the background image. See:
- set-background-opacity
- Set the background opacity. See:
- set-colors
- Set terminal colors. See:
- set-enabled-layouts
- Set the enabled layouts in tabs. See:
- set-font-size
- Set the font size in the active top-level OS window. See:
- set-spacing
- Set window paddings and margins. See:
- set-tab-color
- Change the color of the specified tabs in the tab bar. See:
- set-tab-title
- Set the tab title. See:
- set-user-vars
- Set user variables on a window. See:
- set-window-logo
- Set the window logo. See:
- set-window-title
- Set the window title. See:
- signal-child
- 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¶
- --to
- 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.
- --password
- 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. To use a blank password specify --use-password as always.
- --password-file [=rc-pass]
- 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.
- --password-env [=KITTY_RC_PASSWORD]
- 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.
- --use-password [=if-available]
- 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. If set to always and no
password is provided, the blank password is used.
Choices: if-available, always, never
Options¶
- --help, -h
- Show help for this command
October 2, 2024 | 0.36.4 |