nice looking default config

This commit is contained in:
2025-10-09 19:30:25 +02:00
parent 565f7c71dc
commit d135735cb1
+41
View File
@@ -0,0 +1,41 @@
# Rebind prefix key to Ctrl+a for easier access
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Reload config with Prefix + r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Enable mouse support for pane selection and scrolling
set -g mouse on
# Use Vim-like keys for pane navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Split windows with Prefix + | (vertical) and Prefix + - (horizontal)
bind | split-window -h
bind - split-window -v
# Set default terminal to 256 colors
set -g default-terminal "screen-256color"
black="#000000"
gray_light="#D8DEE9"
gray_medium="#ABB2BF"
gray_dark="#3B4252"
green_soft="#A3BE8C"
blue_muted="#81A1C1"
cyan_soft="#88C0D0"
set -g status-position top
set -g status-left-length 100
set -g status-style "fg=${gray_light},bg=default"
set -g status-left "#[fg=${green_soft},bold] #S #[fg=${gray_light},nobold]| "
set -g window-status-current-format "#[fg=${cyan_soft}]#[fg=${black},bg=${cyan_soft},bold]#I:#W#[fg=${cyan_soft},bg=default]"
set -g window-status-format " #I:#W "
set -g message-style "fg=${gray_light},bg=default"
set -g mode-style "fg=${gray_dark},bg=${blue_muted}"
set -g pane-border-style "fg=${gray_dark}"
set -g pane-active-border-style "fg=${gray_medium}"