Skip to content

Instantly share code, notes, and snippets.

@tehmaze
Created August 11, 2011 08:32
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 tehmaze/1139168 to your computer and use it in GitHub Desktop.
Save tehmaze/1139168 to your computer and use it in GitHub Desktop.
tmux configuration
# c-b .. really?
set-option -g prefix C-a
# c-a c-a for the last active window
bind-key C-a last-window
# command sequence for nested tmux sessions
bind-key a send-prefix
# start window numbering at 1
set -g base-index 1
# faster command sequences
set -s escape-time 0
# aggressive resize
setw -g aggressive-resize on
# longer show time for messages
set -g display-time 2000
# different message colors
set -g message-bg red
set -g message-fg white
# default statusbar colors
set -g status-fg white
set -g status-bg default
set -g status-attr default
# status extras
set -g status-left ' #[fg=yellow,bold]%Y-%m-%d %H:%M#[fg=black,bold] |#[default]#[fg=cyan] %A #[fg=black,bold]|#[default]#[fg=green,bold] #(cut -d " " -f1-3 </proc/loadavg)#[default]'
set -g status-left-length 50
set -g status-right ''
set -g status-right-length 0
set -g status-justify right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment