Skip to content

Instantly share code, notes, and snippets.

@craigmbooth
Created December 9, 2013 00:00
Show Gist options
  • Select an option

  • Save craigmbooth/7865364 to your computer and use it in GitHub Desktop.

Select an option

Save craigmbooth/7865364 to your computer and use it in GitHub Desktop.
My .tmux.conf.
##########################################################################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# . \__|_| |_| |_|\__,_/_/\_\.conf
#
##########################################################################
#C-o doesn't conflict with too much in Emacs
unbind-key C-b
unbind-key C-o
set-option -g prefix C-o
#Set correct terminal
set -g default-terminal "screen-256color"
#Start window/pane numbering at 1 because 0 is over there -->
set -g base-index 1
setw -g pane-base-index 1
#Big history
set-option -g history-limit 10000
#Allow the mose to select between panes:
set-window-option -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g mouse-resize-pane on
#Reload tmux conf with C-o r
bind-key r source-file ~/.tmux.conf \; display "Reloaded tmux config file."
#Automatically set window title
setw -g automatic-rename
setw -g monitor-activity on
set -g visual-activity on
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
#Something close to Zenburn theme
setw -g clock-mode-colour colour117
setw -g mode-attr bold
setw -g mode-fg colour117
setw -g mode-bg colour238
set -g status-bg colour235
set -g status-fg colour248
set -g status-attr dim
set -g status-left '#[fg=colour187,bold]#H'
set -g status-right '#[fg=colour174]#(mpc) #[fg=colour187,bold]%H:%M:%S'
set -g status-right-length 80
set -g pane-border-fg colour235
set -g pane-active-border-fg colour117
setw -g window-status-current-fg colour223
setw -g window-status-current-bg colour237
setw -g window-status-current-attr bold
set -g message-attr bold
set -g message-fg colour117
set -g message-bg colour235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment