Skip to content

Instantly share code, notes, and snippets.

@amcsi
Created April 17, 2014 11:05
Show Gist options
  • Save amcsi/10974285 to your computer and use it in GitHub Desktop.
Save amcsi/10974285 to your computer and use it in GitHub Desktop.
My .tmux.conf
# http://www.doknowevil.net/2010/10/18/sorry-screen-tmux-is-better-but-here-are-some-screen-lik-hotkeys/
unbind C-b
set -g prefix C-a
bind-key a send-prefix
# other ^A
unbind ^A
bind ^A last-window
# statusbar --------------------------------------------------------------
# # default statusbar colors
set-option -g status-fg white
set-option -g status-bg black
set-option -g status-attr default
# # default window title colors
set-window-option -g window-status-fg cyan
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim
# # active window title colors
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-attr bright
# # command/message line colors
set-option -g message-fg white
set-option -g message-bg black
set-option -g message-attr bright
# # Refresh the status bar every 30 seconds.
set-option -g status-interval 30
# # The status bar itself.
set -g status-justify left
set -g status-left-length 40
set -g status-left "#[fg=#009900]Session: #S #[fg=yellow]#I #[fg=cyan]#P ::"
set -g status-right "#[fg=blue]#(~/battery Discharging) | #[fg=cyan]%d %b %R"
# mouse
set -g mode-mouse on
set -g mouse-select-window on
set -g mouse-select-pane on
set -sg escape-time 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment