Skip to content

Instantly share code, notes, and snippets.

@d-baker
Created August 13, 2014 08:45
Show Gist options
  • Save d-baker/2de15f59626be89ab433 to your computer and use it in GitHub Desktop.
Save d-baker/2de15f59626be89ab433 to your computer and use it in GitHub Desktop.
tmux config, don't ask me how it works
bind R source-file ~/.tmux.conf \;
#------------------------------------------------------------------------
# Keys
#------------------------------------------------------------------------
# replace the default prefix key (Ctrl-B)
unbind C-b
set -g prefix C-a
bind C-a send-prefix
bind a send-prefix
# use spacebar as a shortcut for :
bind Space command-prompt # default: next-layout
#------------------------------------------------------------------------
# Appearance
#------------------------------------------------------------------------
set -g default-terminal "screen-256color"
set -g status-utf8 on
set -g status-left "#[fg=#00aaaa][#S]"
set -g status-right "#[fg=cyan]#{=22:pane_title} #[fg=default]%Y-%m-%d | %I:%M %p"
set -g status-interval 15
set -g status-bg "#333333"
set -g status-fg "#eeeeee"
set -g pane-border-fg "#444444"
set -g pane-active-border-fg "#00aaaa"
set -g message-fg default
set -g message-bg default
set -g clock-mode-colour "#00aaaa"
set -g clock-mode-style 12 # 24-hour
# Highlight active window
set-window-option -g window-status-current-bg "#1f7a7a"
set-window-option -g window-status-current-fg "#ffffff"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment