Skip to content

Instantly share code, notes, and snippets.

@jon
Last active September 15, 2019 17:42
Show Gist options
  • Save jon/32cc4d0a6f95ffb9c8511cac0535cae0 to your computer and use it in GitHub Desktop.
Save jon/32cc4d0a6f95ffb9c8511cac0535cae0 to your computer and use it in GitHub Desktop.
set-option -g base-index 1
set-option -g default-terminal screen-256color
set-option -g set-clipboard on
set-option -g mouse on
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
set-option -sg escape-time 15
set-option -g status-bg colour33
set-option -g status-fg colour254
set-option -g status-left "#[bg=colour25] #[fg=colour231] #[fg=colour254] #[bg=colour33,fg=colour25]"
set-option -g status-left-length 20
set-option -g window-status-format "#[bg=colour33] #I#[fg=colour250]#[fg=colour254]#W "
set-option -g window-status-current-format "#[fg=colour33,bg=colour33] #[fg=colour255,bg=colour33]#I#[fg=colour231]#[fg=colour231,bold]#W #[fg=colour33,bg=colour33] "
set-option -g window-status-separator ""
set-option -g status-right "#[fg=colour244]#[bg=colour244,fg=colour231,bold] jon@#h #[fg=colour242,none]#[fg=colour254,bg=colour242] %a %e %b %Y #[fg=colour240]#[fg=colour254,bg=colour240] %I:%M %P "
set-option -g status-right-length 50
# we like a bunch of history
set-option -g history-limit 5000
set-option -g message-style bg=colour68,fg=colour255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment