diff --git a/.gitignore b/.gitignore index 6741efe..17f1202 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ !fuzzel/** !lf/ !lf/** +!tmux/ +!tmux/** diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..b73adf7 --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,34 @@ +# ── 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 bottom +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 "