Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-go latest

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.BindKeyRequest
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_keys.go
struct tmux.BindKeyRequest

Fields5#

BindKeyRequest fields
NameTypeDescription
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.
Esc

Type to search.

Reference previewOpen reference