added tmux

This commit is contained in:
2026-06-18 13:29:57 +02:00
parent 134b782d4f
commit 3284977b29
2 changed files with 36 additions and 0 deletions
+2
View File
@@ -9,3 +9,5 @@
!fuzzel/**
!lf/
!lf/**
!tmux/
!tmux/**
+34
View File
@@ -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 "