Skip to content

tmux

=this.titleπŸ”—

=this.img = ("[Website](" + this.url + ")") | = ("[Source](" + this.source + ")") | = ("[Documentation](" + this.docs + ")")

=("<a href='" + this.config.url + "'><button type='button'>Open Config</button></a>")

= ("> " + this.desc-short)

User InterfaceπŸ”—

Window status indicators
Symbol Meaning
* Denotes the current window.
- Marks the last window (previously selected).
# Window is monitored and activity has been detected.
! A bell has occurred in the window.
~ The window has been silent for the monitor-silence interval.
M The window contains the marked pane.
Z The window’s active pane is zoomed.

ConfigπŸ”—

Open =this.title config file ~/.tmux.conf

Commands and ShortcurtsπŸ”—

Command Shortcut Description
resize-pane -Z <prefix> + z Toggle full window zoom
resize-pane -x 33% change pane size to percentage of full window

String substitution in commands

1
2
3
A prefix of the form β€˜s/foo/bar/:’ will substitute β€˜foo’ with β€˜bar’ throughout.
The first argument may be an extended regular expression and a final argument may be β€˜i’ to ignore case, for example:
 β€˜s/a(.)/\1x/i:’ would change β€˜abABab’ into β€˜bxBxbx’.

Example

1
set-window-option -g window-status-format "  #{s/-/>>/:window_flags} #I #W"

Shell output in commands

1
tmux <command> "$(<shell command> '#<tmux variable>')"

PluginsπŸ”—

ReferencesπŸ”—