tmux_bind_key
Bind a key to a tmux command with options for key table, repeat, and root mode. Configure custom shortcuts to run tmux commands directly.
Instructions
Bind key to a tmux command.
command is the tmux command + args as a list, e.g.
["new-window", "-n", "logs"]. table selects the key table; root=True
(-n) binds in the root table so no prefix is needed; repeat=True (-r)
allows the key to repeat. Returns {"bound": key}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| command | Yes | ||
| table | No | ||
| repeat | No | ||
| root | No | ||
| target | No |