0% found this document useful (0 votes)
498 views

Tmux

This document provides a cheat sheet for using tmux, an terminal multiplexer that allows multiple terminal sessions to be accessed simultaneously, with keybindings and commands for general use, managing panes/splits, copying text, and switching between windows and sessions. It details shortcuts for navigation, resizing panes, moving between windows, searching, and reloading the tmux configuration file. The cheat sheet acts as a quick reference guide for common tmux tasks.

Uploaded by

rabirm77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
498 views

Tmux

This document provides a cheat sheet for using tmux, an terminal multiplexer that allows multiple terminal sessions to be accessed simultaneously, with keybindings and commands for general use, managing panes/splits, copying text, and switching between windows and sessions. It details shortcuts for navigation, resizing panes, moving between windows, searching, and reloading the tmux configuration file. The cheat sheet acts as a quick reference guide for common tmux tasks.

Uploaded by

rabirm77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

tmux

cheat sheet

General Panes (splits) Copy mode
prefix % vertical split Function vi emacs
CTRL + : “ horizontal split back to indentation ^ M-m
start new o swap panes start selection space C-space
tmux q show numbers clear selection Esc C-g
start new session with name x Enter M-w
tmux new –s myname kill copy selection
attach + break into window cursor down j down
tmux a # - restore from window cursor up k up
attach to named space – toggle layouts cursor right l right
tmux a –t myname { move left cursor left h left
list sesssions } move right delete line d C-u
tmux ls z toggle zoom delete to end of line D C-k
kill session $ C-e
end of line
tmux kill-session –t myname
Commands start of line 0 C-a
resize-pane –D 20 resize down next page C-f PgDn
Sessions
resize-pane –U 20 resize up next word w M-f
s list sessions
resize-pane –L 20 resize left paste buffer p C-y
$ rename session
resize-pane –R 20 resize right quit mode q Esc

swap-window –s 3 –t 1 scroll up K C-up
Windows (tabs) list-keys scroll down J C-down
c create window list-panes n n
search again
w list windows ? C-r
search backward
n next window Misc / C-s
search forward
p previous window d detach
f find window t clock
,
Reload
name window ? list shortcuts $ tmux source-file ~/.tmux.conf
& kill window : prompt

You might also like