Skip to content

Instantly share code, notes, and snippets.

@eric-wieser
Created April 23, 2012 20:38
Show Gist options
  • Save eric-wieser/2473683 to your computer and use it in GitHub Desktop.
Save eric-wieser/2473683 to your computer and use it in GitHub Desktop.
Tmux configuration
set -g default-terminal "screen-256color"
#key bindings
#window splitting
unbind %
bind - split-window -v
bind \ split-window -h
#window resizing
bind -r h resize-pane -L 5
bind -r l resize-pane -R 5
bind -r j resize-pane -D 5
bind -r k resize-pane -U 5
#window selection
bind -r H select-pane -L
bind -r L select-pane -R
bind -r J select-pane -D
bind -r K select-pane -U
#mouse bindings
setw -g mode-mouse on
set-option -g mouse-resize-pane on
set-option -g mouse-select-window on
set-option -g mouse-select-pane on
#pane colors
set pane-border-fg "#808080"
set pane-active-border-fg "#ff8000"
#clock colors
set-window-option -g clock-mode-style 12
set-window-option -g clock-mode-colour "#ff8000"
#message colors
set-option -g message-fg "#404040"
set-option -g message-bg "#ffffff"
#status bar
set-option -g status-justify centre
set-option -g status-bg "#c0c0c0"
#left side
set-option -g status-left " #S#[fg=#c0c0c0]▐#[fg=default]"
set-option -g status-left-bg "#808080"
set-option -g status-left-fg "#000000"
#right side
set-option -g status-right "#[fg=#c0c0c0]▌#[fg=default]#h %H:%M"
set-option -g status-right-bg "#808080"
set-option -g status-right-fg "#000000"
# default window title colors
set-window-option -g window-status-fg "#808080"
set-window-option -g window-status-bg default
set-window-option -g window-status-format "#[fg=#ff8000]│#[fg=default] #I #W #[fg=#ff8000]│#[fg=default]"
# active window title colors
set-window-option -g window-status-current-fg "#000000"
set-window-option -g window-status-current-bg "#ff8000"
set-window-option -g window-status-current-attr none
set-window-option -g window-status-current-format "#[fg=#c0c0c0]▌#[fg=default] #I #W #[fg=#c0c0c0]▐#[fg=default]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment