




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





set ‐g prefix C‐a
bind C‐a send‐prefix unbind C‐b
C‐a?
setw ‐g mode‐keys vi
Managing sessions
tmux new‐session ‐s work
tmux new‐session ‐s work2 ‐t work
tmux attach ‐t work
C‐a M‐p previous such window
C‐a , rename the current window C‐a & kill the current window
Managing split panes
C‐a " split vertically (top/bottom) C‐a % split horizontally (left/right)
C‐a left go to the next pane on the left C‐a right (or one of these other directions) C‐a up C‐a down C‐a o go to the next pane (cycle through all of them) C‐a ; go to the ‘last’ (previously used) pane
C‐a { move the current pane to the previous position C‐a } move the current pane to the next position C‐a C‐o rotate window ‘up’ (i.e. move all panes) C‐a M‐o rotate window ‘down’ C‐a! move the current pane into a new separate window (‘break pane’)
C‐a :move‐pane ‐t :3. split window 3's pane 2 and move the current pane there
C‐a M‐up, C‐a M‐down, C‐a M‐left, C‐a M‐right resize by 5 rows/columns C‐a C‐up, C‐a C‐down, C‐a C‐left, C‐a C‐right resize by 1 row/column
C‐a M‐1 switch to even‐horizontal layout C‐a M‐2 switch to even‐vertical layout C‐a M‐3 switch to main‐horizontal layout C‐a M‐4 switch to main‐vertical layout C‐a M‐5 switch to tiled layout C‐a space switch to the next layout
C‐a x kill the current pane C‐a q display pane numbers for a short while
Other config file settings
unbind r bind r source‐file ~/.tmux.conf
Very handy. Thanks!
anselmo commented on Jan 15, 2014
Ace!
droope commented on Feb 19, 2014
This is great! thanks
sukima commented on Feb 25, 2014
I wouldn't mind going for ^B but my muscle memory is so used to the old days with screen that I can't undo ^A. (^)
ryanwilsonperkin commented on Mar 14, 2014
Had my own reservations about switching to ^A since I'm used to using it for start of line in bash & zsh, however tapping it twice (^A^A) mimics the old ^A behaviour. Since discovering that I've been happy with the change.
xavierartot commented on Mar 21, 2014
How reload the tmux.conf?
33 unbind r
34 bind r source‑file ~/.tmux.conf
Then i hit r + return?
Thanks
akartynnik commented on Mar 26, 2014
Close all tmux sessions, or run: tmux kill‐server. Then start new session: tmux new ‐s session_name
Session is closed by pressing Ctrl‐d
hauleth commented on Apr 11, 2014
Personally I use ^Q as I often use ^A in Vim.
EvanCarroll commented on May 26, 2014
You should say what setw ‐g xterm‐keys on actually does.
mattaudesse commented on May 28, 2014
This is great! Very handy.