BindKeyRequest
BindKeyRequest configures one tmux key binding. Its zero value is invalid because Key is required; nil KeyTable and Note omit their flags while pointers to empty strings are explicit.
Source and package
- Qualified name
-
tmux.Bind Key Request - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_keys.go
Fields5#
| Name | Type | Description |
|---|---|---|
| Command | string | Command is the tmux command; an empty command is a no-op binding on tmux 3.3+. |
| Key | string | Key is the required tmux key notation to bind. |
| KeyTable | *string | KeyTable selects a table, or nil for tmux's default table. |
| Note | *string | Note supplies tmux's optional binding note. |
| Repeat | bool | Repeat makes the binding repeatable. |