dotfiles/.tmux.conf

70 lines
1.9 KiB
Text
Raw Normal View History

# 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)"
2021-04-01 18:28:38 +02:00
set -g status-right-length 100
# resize
2021-04-01 18:28:38 +02:00
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
2024-07-30 10:26:23 +02:00
# display more of the session name
set -g status-left-length 20
# Splits
unbind '"'
unbind %
# setze Bind auf logische Zeichen & öffne in Pane in aktuellen Dir
# https://github.com/jbranchaud/til/blob/master/tmux/open-new-splits-to-the-current-directory.md
bind - split-window -v -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"
# 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
# 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 ?
# Focus events enabled for terminals that support them
set -g focus-events on
2024-10-29 14:10:52 +01:00
# Move Panes interactively
# https://www.reddit.com/r/commandline/comments/8wv0w6/interactively_moving_panes_to_other_windows/
unbind m
bind-key m choose-tree -Z "join-pane -t '%%'"