Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created October 11, 2011 18:39
Show Gist options
  • Save kyleterry/1278971 to your computer and use it in GitHub Desktop.
Save kyleterry/1278971 to your computer and use it in GitHub Desktop.
# Set escape char to Ctrl-J
set-option -g prefix C-h
unbind-key C-b
bind-key C-h send-prefix
# easy window splitting
unbind %
bind | split-window -h
bind - split-window -v
bind r source-file ~/.tmux.conf
# Vi mode
set-window-option -g mode-keys vi
# Pretty status bar
set-option -g status-bg colour0
set-option -g status-fg white
set-option -g status-left-length 40
set-option -g status-left "#[fg=green][ #[fg=magenta]#(whoami)#[fg=green]@#[fg=cyan]#H #[fg=green]][ #[fg=red]#S #[fg=green]]["
set-option -g status-right "#[fg=green]][ #[fg=red](XVX) #[fg=yellow]%H:%M #[fg=blue]%a #[fg=green]%m/%d ]"
set-option -g status-justify centre
set-option -g message-bg blue
set-window-option -g window-status-current-bg red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment