Created
April 13, 2025 02:24
-
-
Save barrientosvctor/25b4b47fe68dfd22dc09cd9de1d9420c to your computer and use it in GitHub Desktop.
Tmux configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set default prefix to Ctrl+a | |
set -g prefix C-a | |
# Set default terminal to xterm | |
set -g default-terminal "xterm-256color" | |
set-option -ga terminal-overrides ",xterm-256color:Tc" | |
# First window is window 1 | |
set -g base-index 1 | |
# Sets vi mode in tmux | |
set -g mode-keys vi | |
# Status bar appearance | |
set -g status-position bottom | |
set -g status-justify centre | |
set -g status-bg default | |
set -g status-fg default | |
set -g window-status-format " #I #W#F " | |
set -g window-status-current-format " #I #W#F " | |
set -g window-status-current-style reverse | |
# Left side status bar: session name | |
set -g status-left-length 50 | |
set -g status-left "#[reverse] codespace " | |
# Right side status bar: host name, date and time | |
set -g status-right-length 50 | |
set -g status-right "#[noreverse] %d/%m/%Y #[reverse] %H:%M " | |
# Pane appearance | |
set -g pane-border-status top | |
set -g pane-border-style fg=colour8 | |
set -g pane-active-border-style fg=colour6 | |
set -g pane-border-format "#{?pane_active,#[bold],#[dim]} #{pane_current_command} " | |
# B&W colors | |
set -g status-style 'fg=#d0cfcc,bg=#171421' | |
set -g window-status-current-style 'bg=default,reverse' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment