Created
October 9, 2025 13:28
-
-
Save sadjad/de44acdde4288ea25a6c00c3e106e380 to your computer and use it in GitHub Desktop.
Base .tmux.conf
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 -g default-terminal "screen-256color" | |
| # Use Alt-arrow keys without prefix key to switch panes | |
| bind -n S-Left select-pane -L | |
| bind -n S-Right select-pane -R | |
| bind -n S-Up select-pane -U | |
| bind -n S-Down select-pane -D | |
| # Shift arrow to switch windows | |
| bind -n C-Left previous-window | |
| bind -n C-Right next-window | |
| # modes | |
| setw -g clock-mode-colour colour5 | |
| setw -g mode-style fg=colour1,bg=colour18,bold | |
| # panes | |
| set -g pane-border-style bg=default,fg=colour240 | |
| set -g pane-active-border-style bg=default,fg=colour255 | |
| # statusbar | |
| set -g status-position bottom | |
| set -g status-justify left | |
| set -g status-style bg=colour17,fg=colour145 | |
| set -g status-left '' | |
| set -g status-right "#[fg=colour15,bg=colour21] #(df -h / | tail -n1 | awk '{ print $4 }') #[fg=colour15,bg=colour20] %Y-%m-%d #[fg=colour15,bg=colour21] %H:%M:%S " | |
| set -g status-right-length 50 | |
| set -g status-left-length 20 | |
| setw -g window-status-current-style fg=colour15,bg=colour18,bold | |
| setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F ' | |
| setw -g window-status-style fg=colour15,bg=colour17,none | |
| setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' | |
| setw -g window-status-bell fg=colour255,bg=colour1,bold | |
| # messages | |
| set -g message-style bold,fg=colour232,bg=colour3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment