Skip to content

Instantly share code, notes, and snippets.

@ephbaum
Last active January 1, 2024 04:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ephbaum/079462bbf9a65d1ee37b84046fde0370 to your computer and use it in GitHub Desktop.
Save ephbaum/079462bbf9a65d1ee37b84046fde0370 to your computer and use it in GitHub Desktop.
tmux config
# tmux config - a lot more orange
# yes, mouse, please
set -g mouse on
# use - for vertical pane and | for horizontal
# open new panes in currjnt working directory
# leave new windows to open in home
# unbind the original split keys
bind '-' split-window -c "#{pane_current_path}"
bind '|' split-window -h -c "#{pane_current_path}"
unbind '"'
unbind %
# slow pane display
set -g display-panes-time 3000
# reload config on the fly
bind r source-file ~/.tmux.conf
######################
### DESIGN CHANGES ###
######################
# loud or quiet?
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
# modes
setw -g clock-mode-colour colour5
setw -g mode-style 'fg=colour1 bg=colour18 bold'
# panes
set -g pane-border-style 'fg=colour19 bg=colour0'
set -g pane-active-border-style 'bg=colour0 fg=colour9'
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=colour166 fg=colour226'
set -g status-left '[#S]'
set -g status-right '#[bg=colour166,fg=colour196] %Y-%m-%d #[bg=colour166,fg=colour196] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 50
setw -g window-status-current-style 'fg=colour166 bg=colour202 bold'
setw -g window-status-current-format ' #I#[fg=colour166]:#[fg=colour166]#W#[fg=colour166]#F '
setw -g window-status-style 'fg=colour166 bg=colour202'
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-style 'fg=colour166 bg=colour202 bold'
# messages
set -g message-style 'fg=colour202 bg=colour166 bold'
set -g default-terminal "xterm-256color"
# tmux config
# yes, mouse, please
set -g mouse on
# use - for vertical pane and | for horizontal
# open new panes in currjnt working directory
# leave new windows to open in home
# unbind the original split keys
bind '-' split-window -c "#{pane_current_path}"
bind '|' split-window -h -c "#{pane_current_path}"
unbind '"'
unbind %
# slow pane display
set -g display-panes-time 3000
# reload config on the fly
bind r source-file ~/.tmux.conf
######################
### DESIGN CHANGES ###
######################
# loud or quiet?
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
# modes
setw -g clock-mode-colour colour5
setw -g mode-style 'fg=colour1 bg=colour18 bold'
# panes
set -g pane-border-style 'fg=colour19 bg=colour0'
set -g pane-active-border-style 'bg=colour0 fg=colour9'
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=colour18 fg=colour226'
set -g status-left '[#S]'
set -g status-right '#[fg=colour233,bg=colour19] %Y-%m-%d #[fg=colour233,bg=colour8] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 50
setw -g window-status-current-style 'fg=colour1 bg=colour19 bold'
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-style 'fg=colour9 bg=colour18'
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
# messages
set -g message-style 'fg=colour226 bg=colour196 bold'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment