tmux cheat sheet
Sessions
Start a new session
Start a new session with the name mysession
kill/delete session mysession
kill/delete all sessions but the current
kill/delete all sessions but mysession
Rename session
Detach from session
Move to previous session
Move to next session
Reload tmux conf
Kill mtux server
Attach to last session
Attach to a session with the name mysession
Show all sessions
Windows
start a new session with the name mysession and window mywindow
Create window
Rename current window
Close current window
Previous window
Next window
Select window by number
Reorder window, swap window number 2 and 1
Panes
Toggle last active pane
Split pane vertically
Split pane horizontally
Move the current pane left
Move the current pane right
Switch to pane to the direction
Toggle synchronize-panes(send command to all panes)
Toggle between pane layouts
Switch to next pane
Show pane numbers(type the number to goto that pane)
Toggle pane zoom
Convert pane into a window
Resize current pane
Close pane
Copy Mode
use vi keys in buffer
Enter copy mode
Enter copy mode and scroll one page up
Quit mode
Go to top line
Go to bottom line
Scroll up
Scroll down
Move cursor left
Move cursor down
Move cursor up
Move cursor right
Move cursor forward one word at a time
Move cursor backward one word at a time
Search forward
Search backward
Next keyword occurance
Previous keyword occurance
Start selection
Clear selection
Copy selection
Paste contents of buffer_0
display buffer_0 contents
copy entire visible contents of pane to a buffer
Show all buffers
Show all buffers and paste selected
Save buffer contents to buf.txt
delete buffer_1
Misc
Enter command mode
Set OPTION for all sessions
Set OPTION for all windows
Help
Show every session, window, pane, etc...
Show shortcuts