tmux – Good to know

Why tmux?
1) Because it makes life easier:
https://opensource.com/article/20/5/split-terminal
2) Because it’s beautiful:

[tmux] is my WM on OS x from unixporn

For a beginners guide see:
https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/
https://www.golinuxcloud.com/tmux-commands/

Cheat-Sheet:
use “prefix key” “Ctrl + a” (changed in my config, standard is “Ctrl + b”), release, then press “command key”. You can get help with: “prefix kex” + ?

command key result
split pane lef/right %
split pane top/bottom ” (i configured as -)
Navigate panes arrow keys
resize panes hold prefix key + arrow keys
Pane to fullscreen / back to normal z
Closing panes c (or type exit)
Detach from tmux d or D
List all open sessions tmux ls
Attach to tmux tmux attach -t 0
, Rename current window

see:
https://cheatography.com/bechtold/cheat-sheets/tmux-the-terminal-multiplexer/

Customize tmux:
https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
https://www.golinuxcloud.com/tmux-config/
https://arcolinux.com/everything-you-need-to-know-about-tmux-status-bar/

Using https://www.ricalo.com/blog/install-powerline-ubuntu/:
> sudo apt install –yes powerline

add the following to your ~/.tmux.conf file:
> set -g default-terminal “screen-256color”
> source “/usr/share/powerline/bindings/tmux/powerline.conf”

You may also like...

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.