62 lines
1.5 KiB
Bash
62 lines
1.5 KiB
Bash
# 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
|
|
set-option -g status-right "#(hostname -f)"
|
|
set -g status-right-length 100
|
|
|
|
# resize
|
|
set-option -gw aggressive-resize on
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# display more of the session name
|
|
set -g status-left-length 20
|
|
|
|
# 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
|
|
|
|
# gehe in copy mode und starte suche
|
|
# prefix + f
|
|
set-window-option -g mode-keys vi
|
|
bind f copy-mode\; send-keys ?
|
|
|
|
# Focus events enabled for terminals that support them
|
|
set -g focus-events on
|