tmux new -s <name>
: create new sessionctrl+b :
: command modetmux ls
: list sessionstmux a -t <name>
: attach to session with namectrl+b d
: detach from session (will continue in background)ctrl+b $
: rename session
ctrl+b c
: create window in sessionctrl+b w
: display windowsctrl+b n
: next windowctrl+b p
: previous windowctrl+b 0..9
: window by number- ctrl+b , : rename window
ctrl+b x
: close window
ctrl+b %
: divide window vertically- ctrl+b ” : divide window horizontally
ctrl+b x
: close pane
ctrl+b ?
- switch scrolling to emacs mode
ctrl+b :setw mode-keys emacs
while in emacs scroll mode:
Page up
: previous pagePage down
: next page
exit scrolling with q