Last active
March 14, 2025 09:39
-
-
Save auryn31/5cecdbad5a0c9c37e49768a518218b98 to your computer and use it in GitHub Desktop.
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
# credits to https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ | |
set -sg escape-time 5 | |
set -g mouse on | |
# set -g mouse-select-window on | |
# set -g mouse-select-pane on | |
# set -g mouse-resize-pane on | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
# DESIGN TWEAKS | |
# don't do anything when a 'bell' rings | |
set -g visual-activity off | |
set -g visual-bell off | |
set -g visual-silence off | |
setw -g monitor-activity off | |
set -g bell-action none | |
# clock mode | |
setw -g clock-mode-colour colour2 | |
# copy mode | |
setw -g mode-style 'fg=colour2 bg=colour18 bold' | |
# pane borders | |
set -g pane-border-style 'fg=colour2' | |
set -g pane-active-border-style 'fg=colour190' | |
# statusbar | |
set -g status-position bottom | |
set -g status-justify left | |
set -g status-style 'fg=colour2' | |
set -g status-left '' | |
set -g status-right '%Y-%m-%d %H:%M ' | |
set -g status-right-length 50 | |
set -g status-left-length 10 | |
setw -g window-status-current-style 'fg=colour0 bg=colour2 bold' | |
setw -g window-status-current-format ' #I #W #F ' | |
setw -g window-status-style 'fg=colour2 dim' | |
setw -g window-status-format ' #I #[fg=colour7]#W #[fg=colour2]#F ' | |
setw -g window-status-bell-style 'fg=colour2 bg=colour2 bold' | |
# messages | |
set -g message-style 'fg=colour2 bg=colour0 bold' | |
# Map Ctrl-, and Ctrl-. to custom sequences | |
# bind -n C-, send-keys -l "\033[101;5u" | |
# bind -n C-. send-keys -l "\033[102;5u" | |
set-window-option -g xterm-keys on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment