Files
2026-09-02 14:29:40 +02:00

35 lines
1.7 KiB
Bash

# ── Allgemeines ───────────────────────────────────────────────────────
set -g mouse on
set -g history-limit 50000
set -sg escape-time 10 # Esc-Verzögerung raus (gut für Vim/Kak)
set -g base-index 1 # Fenster bei 1 starten
setw -g pane-base-index 1 # Panes ebenfalls
set -g renumber-windows on # Nach Schließen neu durchnummerieren
set -g set-clipboard on
# Farben: 24-bit + Terminal-Defaults durchreichen (nutzt deine Gruvbox aus Wezterm)
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# ── Config-Reload ─────────────────────────────────────────────────────
bind r source-file ~/.config/tmux/tmux.conf \; display "Config neu geladen"
# ── Schnellnavigation ohne Prefix ─────────────────────────────────────
# Alt+Left/Right: Fenster wechseln
bind -n M-Left previous-window
bind -n M-Right next-window
# Alt+Up/Down: Pane rotieren
bind -n M-Up select-pane -t :.-
bind -n M-Down select-pane -t :.+
# ── Statusbar (schlicht, Gruvbox-freundlich über ANSI) ────────────────
set -g status-position top
set -g status-interval 5
set -g status-style "bg=black,fg=white"
set -g status-left " #[bold]#S#[default] "
set -g status-right " %a %d.%m. %H:%M "
set -g status-left-length 30
setw -g window-status-current-style "bg=yellow,fg=black,bold"
setw -g window-status-format " #I:#W "
setw -g window-status-current-format " #I:#W "