target-client is the name of the pty(4) file to which the client is connected, for example either of /dev/ttyp1 or ttyp1 for the client attached to /dev/ttyp1. These specify the client, session, window or pane which a command should affect. Most commands accept the optional -t argument with one of target-client, target-session target-window, or target-pane. This section contains a list of the commands supported by tmux. Key bindings may be changed with the bind-key and unbind-key commands. Resize the current pane in steps of five cells. Resize the current pane in steps of one cell. M-p Move to the previous window with a bell or activity marker. M-o Rotate the panes in the current window backwards. M-n Move to the next window with a bell or activity marker. Space Arrange the current window in the next preset layout. M-1 to M-5 Arrange panes in one of the five preset layouts:Įven-horizontal, even-vertical, main-horizontal, Left, Right Change to the pane to the left, or right of the current pane. Up, Down Change to the pane above or below the current pane. Page Up Enter copy mode and scroll one page up. ~ Show previous messages from tmux, if any. Swap the current pane with the next pane.
W Choose the current window interactively. S Select a new session for the attached client interactively. O Select the next pane in the current window. L Move to the previously selected window. I Display some information about the current ] Paste the most recently copied buffer of text.į Prompt to search for text in open windows. [ Enter copy mode to copy text or view the history. L Switch the attached client back to the last session. = Choose which buffer to paste interactively from a list. Prompt for an index to move the current window. Delete the most recently copied buffer of text. ) Switch the attached client to the next session. ( Switch the attached client to the previous session. % Split the current pane into two, left and right. " Split the current pane into two, top and bottom. ! Break the current pane out of the window. Key BindingsĬ-b Send the prefix key (C-b) through to the application.Ĭ-o Rotate the panes in the current window forwards. If no commands are specified, the new-session command is assumed. Specify one of a set of commands used to control tmux, as described in the following sections.
Where PID is the PID of the server or client process. Log messages will be saved into tmux-client-PID.log and tmux-server-PID.log files in the current directory, This option may be specified multiple times for increasing verbosity. Options are enabled in the global window and session options respectively.
If the server is started from a client passed -u or where UTF-8 is detected, the utf8 and status-utf8 This is not always correct: the -u flag explicitly informs tmux that UTF-8 is supported. LC_CTYPE and LANG environment variables to be set for the string "UTF-8". u tmux attempts to guess if the terminal is likely to support UTF-8 by checking the first of the LC_ALL, If -S is specified, the default socket directory is not used and any -L flag is ignored.
ELINKS FORCE REFRESH FULL
Specify a full alternative path to the server socket. q Set the quiet server option to prevent the server sending various informational messages. This flag currently has no effect and is for compatibility with other shells when using tmux as a login shell. If the socket is accidentally removed, the SIGUSR1 signal may be sent to the tmux server process to recreate it. Unlike -S a full path is not necessary: the sockets are all created in the same directory. This option allows a different socket name to be specified, allowing several independent tmux servers to be run. Tmux stores the server socket in a directory under /tmp (or TMPDIR if set) the default socket is named default. If a command in the configuration file fails, tmux will report an error and exit without executing further commands. The configuration file is a set of tmux commands which are executed in sequence when the server is first started. Then looks for a user configuration file at ~/.nf. Specify an alternative configuration file.īy default, tmux loads the system configuration file from /etc/nf, if present, This option is for compatibility with sh(1) when tmux is used as a login shell. If necessary, the tmux server will be started to retrieve the default-shell option. 8' Like -2, but indicates that the terminal supports 88 colours.Įxecute shell-command using the default shell. 2' Force tmux to assume the terminal supports 256 colours.