tmux: comments
Signed-off-by: Michael Grote <michael.grote@dataport.de>
This commit is contained in:
parent
ccd5b5ea0c
commit
0c129dad17
1 changed files with 51 additions and 25 deletions
76
.tmux.conf
76
.tmux.conf
|
@ -1,37 +1,63 @@
|
||||||
set-option -g set-titles on # Automatically set window title
|
# Automatically set window title
|
||||||
set-option -g status-position top # position the status bar at top of screen
|
set-window-option -g automatic-rename on
|
||||||
set-option -g monitor-activity off # Deaktiviere "Markierung" aktiver Fenster
|
set-option -g set-titles on
|
||||||
set-option -g renumber-windows on # Automatische Neu-Nummerierung der Fenster aktivieren; Beispielsweise nach dem Schließen eines Fensters
|
|
||||||
set-option -g base-index 1 # Nummerierung der Fenster und Teilfenster jeweils mit 1 beginnen
|
# position the status bar at top of screen
|
||||||
set -g pane-base-index 1 # Nummerierung der Fenster und Teilfenster jeweils mit 1 beginnen
|
set-option -g status-position top
|
||||||
set-option -g status-right "#(hostname -f)" # Statuszeile - rechts
|
|
||||||
|
# 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)"
|
||||||
set -g status-right-length 100
|
set -g status-right-length 100
|
||||||
set-option -gw aggressive-resize on
|
set-option -gw aggressive-resize on
|
||||||
set -g default-terminal screen-256color # Farb-Optionen für Shell-Fenster
|
|
||||||
set -g history-limit 50000 # increase scrollback buffer size
|
|
||||||
set -g mouse on # Maus-Unterstützung aktivieren
|
|
||||||
set-window-option -g clock-mode-style 24 # Uhrzeit auf 24h Format
|
|
||||||
set-window-option -g pane-base-index 1 # Nummerierung der Fenster und Teilfenster jeweils mit 1 beginnen:
|
|
||||||
set-window-option -g automatic-rename on # Automatically set window title
|
|
||||||
|
|
||||||
#------------ Buttons ------------#
|
# Farb-Optionen für Shell-Fenster
|
||||||
bind k select-pane -U # Wechsle Fenster mit vim keybindings
|
set -g default-terminal screen-256color
|
||||||
bind j select-pane -D # Wechsle Fenster mit vim keybindings
|
|
||||||
bind h select-pane -L # Wechsle Fenster mit vim keybindings
|
|
||||||
bind l select-pane -R # Wechsle Fenster mit vim keybindings
|
|
||||||
unbind '"' # alte Tastenkombination deaktivieren
|
|
||||||
unbind % # alte Tastenkombination deaktivieren
|
|
||||||
bind | split-window -h # Vertikal splitten
|
|
||||||
bind - split-window -v # Horizontal splitten
|
|
||||||
|
|
||||||
set -s escape-time 0 # address vim mode switching delay (http://superuser.com/a/252717/65504)
|
# increase scrollback buffer size
|
||||||
set -g display-time 4000 # tmux messages are displayed for 4 seconds
|
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
|
||||||
|
|
||||||
# schließe windows mit prefix + w
|
# schließe windows mit prefix + w
|
||||||
bind w killw
|
bind w killw
|
||||||
|
|
||||||
# öffne windows mit prefix + t
|
# öffne windows mit prefix + t
|
||||||
bind t new-window
|
bind t new-window
|
||||||
# gehe in copy mode und starte suche
|
|
||||||
|
# gehe in copy mode und starte suche
|
||||||
# prefix + f
|
# prefix + f
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
bind f copy-mode\; send-keys ?
|
bind f copy-mode\; send-keys ?
|
||||||
|
|
Loading…
Reference in a new issue