Config
~/.tmux.conf
# mit prefix-r die tmux config neu einlesen
bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
# Crtl+Y als zusätzlichen Prefix-Key einstellen
set-option -g prefix2 C-y
#unbind-key C-b
bind-key C-y send-prefix
# Inhalt der Infoleiste ändern:
set -g status-interval 2
set -g status-left '[#S]'
set -g status-right '%l:%M'
set-option -g status-justify left
set-window-option -g window-status-current-format '#I:#W#F'
set-window-option -g window-status-format '#I:#W#F'
set -g status-keys vi
set -g status-position top
setw -g automatic-rename on
# Farb-Optionen fuer Shell-Fenster
set-option -g default-terminal screen-256color
# Aussehen der Infoleiste ändern:
set-option -g status on
set-option -g status-bg blue
set-option -g status-fg white
set-window-option -g window-status-current-bg yellow
set-window-option -g window-status-current-fg black
# Aussehen der Kommandozeile ändern:
set -g message-fg white
set -g message-bg yellow
set -g message-attr bright
# Aussehen von Teilfenstern ("Panes") anpassen:
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg green
set -g pane-active-border-bg blue
# Aktive Shell-Fenster visuell hervorheben:
setw -g monitor-activity on
set -g visual-activity on
# Automatische Neu-Nummerierung der Fenster aktivieren:
# (Beispielsweise nach dem Schließen eines Fensters)
set -g renumber-windows on
# Buffer-Länge einstellen
set -g buffer-limit 1000
set -g history-limit 1000
# When enabled, focus events are requested from the terminal if supported and
# passed through to applications running in tmux. Attached clients should be
# detached and attached again after changing this option.
set -g focus-events on
# Maus Einstellungen
set -g mouse on
# mit der mittleren Taste wollen wir zoomen
bind-key -T root MouseDown2Pane resize-pane -Z -t =
# For vi copy mode bindings
bind-key -t vi-copy MouseDragEnd1Pane copy-pipe "xclip -selection clipboard -i"
# For emacs copy mode bindings
bind-key -t emacs-copy MouseDragEnd1Pane copy-pipe "xclip -selection clipboard -i"
# Attempt to set the terminal clipboard content using the \e]52;...\007 xterm(1)
# escape sequences.
set -g set-clipboard on
# Fenster-Titel
set -g set-titles on
# Monitor und Bell-Einstellungen
set -g bell-on-alert on
set -g visual-activity on
set -g visual-bell on
setw -g monitor-activity on
setw -g monitor-silence 2000
setw -g pane-border-status bottom