Tmux
Logging Plugin
Prefix+D
: Detachtmux ls
[List Sessions]tmux attach -t
[Name of session]tmux -S
[Name of session]-S : socket path [ Specify a full alternative path to the server socket. eg: /.dev/dev_sess]
Prefix + c [New tab]
Ctrl+ R
[Recursive search]Prefix + Alt + Shift + P
[Save history]Prefix + [
[Move up/down screen using Page up/down]tmux kill-server
[Kills all tmux sessions]Less /root/tmux-history-
[Tmux history]
COPY MODE
Prefix + [
: To enable scrollingPress
CTRL + Space -> Then Arrow-keys for navigation
to start copying.Use arrow keys to go to the end of text you want to copy. Press
CTRL + w
to copy into Tmux buffer.Press
Prefix
+]
to paste
SCREEN SPLITTING
Prefix + -
Prefix + |
[Hold Prefix] + '-' [To Resize]
[Hold Prefix] + '+' [To Resize]
Prefix + ,
[Rename session]
Config File
Location : ~/.tmux.conf
Tips
Detach: Ctrl+ A -> d
Last updated