Files
Nina Chlóe Kassandra Reiß 64817ef4ff Add ssh and git configuration
2026-04-20 15:59:52 +02:00

88 lines
2.1 KiB
Bash

##### CORE #####
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -g mouse on
set -g focus-events on
set -g history-limit 100000
set -g base-index 1
setw -g pane-base-index 1
##### TIMING / UX #####
set -g escape-time 10
set -g repeat-time 600
##### BELL / ACTIVITY #####
# Keine akustische Bell, nur visuell
set -g bell-action none
set -g visual-bell on
set -g visual-activity on
setw -g monitor-activity on
set -g activity-action none
# Window-Status bei Bell / Activity (Fallback-Styling)
set -g window-status-bell-style "fg=#ff5555,bold"
set -g window-status-activity-style "fg=#f1fa8c,bold"
##### COLORS (Dracula-ish) #####
set -g status-style "bg=#1e1f29,fg=#c0caf5"
set -g message-style "bg=#2a2b3d,fg=#c0caf5"
set -g pane-border-style "fg=#3b4261"
set -g pane-active-border-style "fg=#7aa2f7"
##### STATUS BAR #####
set -g status on
set -g status-interval 2
set -g status-position bottom
set -g status-justify left
set -g status-left-length 100
set -g status-right-length 100
##### LEFT: Session / Host #####
set -g status-left " \
#[fg=#7aa2f7,bold] #S#[default] \
#[fg=#565f89] #[fg=#9ece6a]#H#[default] \
"
##### WINDOW LIST #####
# Inactive windows
setw -g window-status-format " \
#[fg=#565f89] #I:#W#[default] \
#{?window_bell_flag,#[fg=#ff5555]🔔#[default],} \
"
# Active window
setw -g window-status-current-format " \
#[fg=#1e1f29,bg=#7aa2f7,bold] #I:#W#[default] \
#[fg=#1e1f29,bg=#7aa2f7]\
#{?window_bell_flag,🔔,}#[default] \
"
##### RIGHT: Clock only (no broken flags) #####
set -g status-right " \
#[fg=#565f89] #[fg=#7dcfff] %H:%M#[default] \
"
##### PANE INFO #####
set -g pane-border-status top
set -g pane-border-format " #[fg=#565f89]#P #[fg=#7aa2f7]#{pane_current_command}#[default] "
##### SMART SPLITS #####
bind | split-window -h
bind - split-window -v
#unbind '"'
#unbind %
##### COPY MODE (VI) #####
setw -g mode-keys vi
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send -X copy-selection
##### DIM INACTIVE PANES #####
set -g window-style "bg=#1a1b26"
set -g window-active-style "bg=#1e1f29"