Skip to content

Instantly share code, notes, and snippets.

@mengzhuo
Last active May 12, 2019 13:16
Show Gist options
  • Save mengzhuo/10696844 to your computer and use it in GitHub Desktop.
Save mengzhuo/10696844 to your computer and use it in GitHub Desktop.
My tmux configure with Vi mode and color-settings
# vi:syntax=conf
set-window-option -g mode-keys vi
set -g history-limit 10000
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set-option -g default-shell /bin/zsh
#### COLOUR (Solarized dark)
set -g default-terminal "screen-256color"
# default statusbar colors
set-option -g status-bg colour235 #base02
set-option -g status-fg colour130 #yellow
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg colour33 #base0
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg colour196 #orange
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-fg colour235 #base02
set-option -g pane-active-border-fg colour46 #base01
# message text
set-option -g message-bg colour235 #base02
set-option -g message-fg colour196 #orange
# pane number display
set-option -g display-panes-active-colour colour20 #blue
set-option -g display-panes-colour colour196 #orange
# clock
set-window-option -g clock-mode-colour colour40 #green
# Set terminal
set -g set-titles on
set -g set-titles-string "#T"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment