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

io.github.libtmux.Keys.Keys

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.Keys
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Keys.java
class io.github.libtmux.Keys.Keys
classreadonly [source]
classreadonly [source]
class io.github.libtmux.Keys.Keys

The server's key bindings, in one key table or across all of them.

tmux keeps bindings in named tables: prefix, pressed after the prefix key, is where a binding goes unless another table is named; root is pressed without it; the copy-mode tables belong to copy mode. Server#keys() answers for prefix when 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"));

5 declared, 0 inherited

Members

  • list method The bindings as tmux lists them, one per line.
  • bind method Binds a key to a tmux command, given as its words.
  • unbind method Removes a key's binding.
  • in method The same bindings, in one named table.
  • Keys method
Esc

Type to search.