linux:user:tmux
This is an old revision of the document!
Table of Contents
Tmux
Irgendwie hasse ich das Ding.
Tmux Settings & Config
# Scroll History
set -g history-limit 50000
# Show Messages longer
set -g display-time 3000
# Messages Color
set -g message-style 'fg=colour160 bg=colour237 bold'
# Mouse Settings
set -g mouse on
# Bind for Mouse on/off
bind-key m \
set-option -g mouse off \;\
display-message 'Mouse: OFF'
bind-key M \
set-option -g mouse on \;\
display-message 'Mouse: ON'
# Bind Sync Panes (Send CMD To all)
bind-key k \
set-option -g synchronize-panes off \;\
display-message 'Sync-Panes: OFF'
bind-key K \
set-option -g synchronize-panes on \;\
display-message 'Sync-Panes: ON'
# Bind for Config reload
bind r source-file ~/.tmux.conf \; display-message 'Config Reloaded...'
# Statusbar
set -g default-terminal "screen-256color"
# Statusbar Global
set -g status-bg colour237
set -g status-fg colour034
# Statusbar - Rechts Datum und Uhrzeit
set -g status-position bottom
set -g status-right '#[fg=colour233,bg=colour8] %d/%m/%y #[fg=colour233,bg=colour237]|#[fg=colour233,bg=colour8] %H:%M:%S '
set-window-option -g window-status-fg colour19
set-window-option -g window-status-bg colour8
# Split Border (Pane)
Tmux Cheat Sheet
Sessions
List Session
tmux ls
Create new Session
tmux new -s <name>
linux/user/tmux.1614682260.txt.gz · Last modified: by stone
