kitty_set_user_vars
Define or remove user variables in kitty windows to enable custom match expressions. Use 'NAME=VALUE' to set, 'NAME' to unset, or omit to list current variables.
Instructions
Set user variables for the specified kitty windows. User variables are accessible via kitty match expressions (var:NAME). Use "NAME=VALUE" to set, or just "NAME" to unset. If no variables provided, prints current vars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| var | No | User variable specs as "NAME=VALUE" or "NAME" to unset. | |
| self | No | Target the window this command runs in. | |
| match | No | Window match expression. |