2024-07-18 10:44:41 +02:00
|
|
|
# Automatically set window title
|
|
|
|
set-window-option -g automatic-rename on
|
|
|
|
set-option -g set-titles on
|
|
|
|
|
|
|
|
# position the status bar at top of screen
|
|
|
|
set-option -g status-position top
|
|
|
|
|
|
|
|
# Deaktiviere "Markierung" aktiver Fenster
|
|
|
|
set-option -g monitor-activity off
|
|
|
|
|
|
|
|
# Automatische Neu-Nummerierung der Fenster aktivieren; Beispielsweise nach dem Schließen eines Fensters
|
|
|
|
set-option -g renumber-windows on
|
|
|
|
|
|
|
|
# Nummerierung der Fenster und Teilfenster jeweils mit 1 beginnen
|
|
|
|
set-window-option -g pane-base-index 1
|
|
|
|
set-option -g base-index 1
|
|
|
|
set -g pane-base-index 1
|
|
|
|
|
|
|
|
# Statuszeile - rechts
|
|
|
|
set-option -g status-right "#(hostname -f)"
|
2021-04-01 18:28:38 +02:00
|
|
|
set -g status-right-length 100
|
|
|
|
set-option -gw aggressive-resize on
|
2024-07-18 10:44:41 +02:00
|
|
|
|
|
|
|
# Farb-Optionen für Shell-Fenster
|
|
|
|
set -g default-terminal screen-256color
|
|
|
|
|
|
|
|
# increase scrollback buffer size
|
|
|
|
set -g history-limit 50000
|
|
|
|
|
|
|
|
# Maus-Unterstützung aktivieren
|
|
|
|
set -g mouse on
|
|
|
|
|
|
|
|
# Uhrzeit auf 24h Format
|
|
|
|
set-window-option -g clock-mode-style 24
|
|
|
|
|
|
|
|
# Wechsle Fenster mit vim keybindings
|
|
|
|
bind k select-pane -U
|
|
|
|
bind j select-pane -D
|
|
|
|
bind h select-pane -L
|
|
|
|
bind l select-pane -R
|
|
|
|
|
|
|
|
# Splits
|
|
|
|
unbind '"'
|
|
|
|
unbind %
|
|
|
|
bind | split-window -h
|
|
|
|
bind - split-window -v
|
|
|
|
|
|
|
|
# address vim mode switching delay (http://superuser.com/a/252717/65504)
|
|
|
|
set -s escape-time 0
|
|
|
|
|
|
|
|
# tmux messages are displayed for 4 seconds
|
|
|
|
set -g display-time 4000
|
2021-08-26 07:57:20 +02:00
|
|
|
|
|
|
|
# schließe windows mit prefix + w
|
|
|
|
bind w killw
|
2024-07-18 10:44:41 +02:00
|
|
|
|
2021-08-26 08:10:27 +02:00
|
|
|
# öffne windows mit prefix + t
|
|
|
|
bind t new-window
|
2024-07-18 10:44:41 +02:00
|
|
|
|
|
|
|
# gehe in copy mode und starte suche
|
2021-11-11 07:41:06 +01:00
|
|
|
# prefix + f
|
|
|
|
set-window-option -g mode-keys vi
|
|
|
|
bind f copy-mode\; send-keys ?
|