Skip to content

Instantly share code, notes, and snippets.

@brandonburke
Created July 2, 2012 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save brandonburke/3030796 to your computer and use it in GitHub Desktop.
Save brandonburke/3030796 to your computer and use it in GitHub Desktop.
My .tmux.conf file
#reload tmux conf with Prefix + r
bind r source-file ~/.tmux.conf \; display "Reloaded tmux.conf"
#reset prefix to Control+a
set -g prefix C-a
unbind C-b
#update tmux escape time
set -sg escape-time 1
#1 based window numbering because 0 is all the way to the right
set -g base-index 1
setw -g base-index 1
#For making Control+a
bind C-a send-prefix
# Intuitive Window Splitting
bind | split-window -h
bind - split-window -v
# Selecting next pane using "Tab"
# -r is to enable repeat of command without need for pressing prefix again
# Tab is repeatable, within repeat-time (ms) delay...
bind-key -r Tab select-pane -t :.+
# Use vim type keys for navigating between windows
bind h select-pane -L
bind l select-pane -R
bind k select-pane -U
bind j select-pane -D
# Use vim type keys for re-sizing panes
bind -r < resize-pane -L 1
bind -r > resize-pane -R 1
bind -r - resize-pane -D 1
bind -r + resize-pane -U 1
#### COLO(U!)R
set -g default-terminal "screen-256colour"
# default statusbar colours
#set-option -g status-bg colour235 #base02
#set-option -g status-fg colour136 #yellow
set-option -g status-bg colour235
set-option -g status-fg default #base02
set-option -g status-attr default
# default window title colours
#set-window-option -g window-status-fg colour244
#set-window-option -g window-status-bg default
set-window-option -g window-status-fg colour255
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim
#set-window-option -g window-status-attr bright
# active window title colours
set-window-option -g window-status-current-fg colour166
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-fg colour235 #base02
#set-option -g pane-border-fg
#set-option -g pane-active-border-fg colour240 #base01
#set-option -g pane-active-border-fg colour249
set-option -g pane-active-border-fg colour166
# message text
set-option -g message-bg colour235 #base02
set-option -g message-fg colour166 #orange
# pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
# clock
set-window-option -g clock-mode-colour colour64 #green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment