

The default permits direct access to the terminal attached to the window the other is copy mode. Tmux has a find-window option & key binding to ease navigation of many windows:Ĭtrl+b w (Select from interactive list of windows)Ī tmux window may be in one of several modes.
#Tmux command windows#
To create a new window you can use Ctrl+b c and move forward one window with Ctrl+b n and backwards one window with Ctrl+b p.Īdditional ways to move between windows include the following:Ĭtrl+b l (Move to the previously selected window)Ĭtrl+b w (List all windows / window numbers)Ĭtrl+b (Move to the specified window number, the default bindings are from 0 – 9)Ĭtrl+b q (Show pane numbers, when the numbers show up type the key to goto that pane) You may also use Alt (called Meta) instead of Ctrl. Tip: Quote special characters to use them as prefix. For example, the default prefix binding of Ctrl+b can be changed to Ctrl+a by adding the following commands in your configuration file:

Key bindings may be changed with the bind and unbind commands in nf. Swapping panes is achieved in the same manner, but by hitting o instead of a directional key. Ctrl+b) and, while continuing to hold Ctrl, press Left/ Right/ Up/ Down. For example, to vertically split a window type Ctrl+b %.Īfter splitting a window into multiple panes, a pane can be resized by the hitting prefix key (e.g. A global configuration file may be provided at /etc/nf though by default Arch does not ship such a file.īy default, command key bindings are prefixed by Ctrl+b.
#Tmux command install#
Optionally, install tmux-bash-completion-git AUR to provide bash completion functions for tmux.īy default, tmux looks for user-specific configuration at ~/.nf, though ~/.config/tmux/nf (hardcoded, $XDG_CONFIG_HOME is ignored) works too.

Although similar, there are many differences between the programs, as noted on the tmux FAQ page. Tmux is an ISC-licensed alternative to GNU Screen. tmux may be detached from a screen and continue running in the background, then later reattached." Tmux is a "terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen.
