Keys
The server's key bindings, in one key table or across all of them.
Source and package
- Qualified name
-
io.github .libtmux. Keys - Package
- io.github.libtmux
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Keys.java
-
Description#
tmux keeps bindings in named tables:
prefix, pressed after the prefix key, is where a binding goes unless another table is named;rootis pressed without it; the copy-mode tables belong to copy mode.Server#keys()answers forprefixwhen binding and for every table when listing;#in()names one.Examples#
server.keys().bind("F12", List.of("display-message", "hello"));server.keys().in("root").bind("F11", List.of("next-window"));