tmux

To attach to a specific session, run

tmux a -t SESSION_ID
CTRL+B %Split window vertically
CTRL+B “Split window horizontally
CTRL+B cCreate new window
CTRL+B dDetach tmux session
CTRL+B $Rename session
CTRL+B nNext window.
CTRL+B pPrevious window.
CTRL+B arrow keysswitch between panes.

.tmux.conf

.tmux.conf file is used to configure tmux

Here is the .tmux.conf i use

https://gist.github.com/serverok/f8f729e2c22a5ab1fa6b0d82765bcddc

If you change this file, you need to restart the terminal or run

tmux source-file .tmux.conf

Scroll Mode in tmux

To scroll, you need to enter scroll mode by pressing

CTRL + B, then press PageUp key.
CTRL + B, then [

To exit scroll mode, press q

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *