====== Shortcuts ====== Prefix d Detaches from the session, leaving the session running in the background. Prefix : Enters Command mode. Prefix c Creates a new window from within an existing tmux session. Shortcut for new-window. Prefix 0…9 Selects windows by number. Prefix w Displays a selectable list of windows in the current session. Prefix , Displays a prompt to rename a window. Prefix & Closes the current window after prompting for confirmation. Prefix % Divides the current window in half vertically. Prefix " Divides the current window in half horizontally. Prefix o Cycles through open panes. Prefix q Momentarily displays pane numbers in each pane. Prefix x Closes the current pane after prompting for confirmation. Prefix Space Cycles through the various pane layouts. Prefix PageUp Enable scrolling ====== Status line variables ====== #H Hostname of local host #h Hostname of local host without the domain name #F Current window flag #I Current window index #P Current pane index #S Current session name #T Current window title #W Current window name ## A literal # #(shell-command) First line of the shell command’s output #[attributes] Color or attribute change