Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Server.BindKey

Go

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_keys.go
Other languages
Python Ruby Lua TypeScript RustJava.NETC++ Swift
BindKey ( ctx : context.Context , request : BindKeyRequest ) → error
method [source]
method [source]
BindKey

BindKey binds Key to Command in a tmux key table. An empty Command creates a no-op binding on tmux 3.3 or newer; tmux 3.2a reports its upstream error. It mutates the table; cancellation does not prove that tmux did not bind Key.

In other ports Bind a key to a tmux command

0 declared, 0 inherited

Esc

Type to search.