Created
September 23, 2025 14:19
-
-
Save BoxOfSnoo/7aa6e07ccb5307f3bae399ad94b139d8 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-option -g default-command "exec /bin/bash" | |
| # remap prefix from 'C-b' to 'C-a' | |
| unbind C-b | |
| set-option -g prefix C-a | |
| bind-key C-a send-prefix | |
| # split panes using | and - | |
| bind | split-window -h | |
| bind - split-window -v | |
| # unbind '"' | |
| unbind % | |
| # reload config file (change file location to your the tmux.conf you want to use) | |
| bind r source-file ~/.tmux.conf | |
| # statusbar | |
| set -g status-position bottom | |
| set -g status-justify left | |
| set -g status-bg colour18 | |
| set -g status-fg colour218 | |
| #set -g status-attr dim | |
| set -g status-left '' | |
| set -g status-right '#[fg=colour226,bg=colour19,bold] %h %d #[fg=colour226,bg=colour19,bold] %H:%M ' | |
| set -g status-right-length 50 | |
| set -g status-left-length 20 | |
| setw -g window-status-current-format ' #I#[fg=colour255]:#[fg=colour255]#W#[fg=colour229]#F ' | |
| setw -g window-status-format ' #I#[fg=colour255]:#[fg=colour250]#W#[fg=colour244]#F ' | |
| # More options | |
| set-window-option -g automatic-rename on | |
| set -g default-terminal "screen-256color" | |
| # enable wm window titles | |
| set -g set-titles on | |
| set -g set-titles-string "tmux.#I.#W" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment