92148f41a7
Issue und Shared-Config für escape-time/O11-Fix; pve2-Keys in horus-root.pub. Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
1.2 KiB
Bash
46 lines
1.2 KiB
Bash
# Referenz: /root/.tmux.conf auf pve1, pve2, Horus
|
|
# Stand: 2026-06-28 — inkl. Windows-Terminal OSC-11-Fix
|
|
|
|
# --- Basics ---
|
|
set -g mouse on
|
|
set -g history-limit 50000
|
|
set -sg escape-time 50
|
|
|
|
# --- True color (btop, htop, colored scripts) ---
|
|
set -g default-terminal "tmux-256color"
|
|
set -ag terminal-overrides ",xterm-256color:RGB"
|
|
set -as terminal-overrides ',*:O11=@'
|
|
set -ag terminal-overrides ",*256col*:RGB"
|
|
|
|
# --- Window / pane numbering ---
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
|
|
# --- Pane splitting (same directory) ---
|
|
bind | split-window -h -c "#{pane_current_path}"
|
|
bind - split-window -v -c "#{pane_current_path}"
|
|
unbind '"'
|
|
unbind %
|
|
|
|
# --- Pane navigation without prefix ---
|
|
bind -n M-Left select-pane -L
|
|
bind -n M-Right select-pane -R
|
|
bind -n M-Up select-pane -U
|
|
bind -n M-Down select-pane -D
|
|
|
|
# --- Window jump without prefix ---
|
|
bind -n M-1 select-window -t 1
|
|
bind -n M-2 select-window -t 2
|
|
bind -n M-3 select-window -t 3
|
|
bind -n M-4 select-window -t 4
|
|
bind -n M-5 select-window -t 5
|
|
|
|
# --- Activity monitoring ---
|
|
setw -g monitor-activity on
|
|
set -g visual-activity on
|
|
|
|
# --- Status bar ---
|
|
set -g status-left "[#S] "
|
|
set -g status-right "#H %H:%M"
|