Skip to content

Instantly share code, notes, and snippets.

@syntruth
Created January 7, 2015 19:28
Show Gist options
  • Save syntruth/7267231ed8334649fe83 to your computer and use it in GitHub Desktop.
Save syntruth/7267231ed8334649fe83 to your computer and use it in GitHub Desktop.
My tmux config
# Change default prefix
unbind C-b
set -g prefix C-a
# set correct term
set -g default-terminal screen-256color
# start window indexing at one instead of zero
set -g base-index 1
#--Key-Bindings-----------------------------------------------------------------
bind | split-window -h
bind _ split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# reload config without killing server
bind R source-file ~/.tmux.conf \; display-message " Config reloaded..".
# Set Dynamic window titles to be on.
set-window-option -g automatic-rename off
#--Status-Bar-------------------------------------------------------------------
# Turn on UTF8
set -g status-utf8 on
set -g status-justify centre
# Default colors
#set -g status-fg white
#set -g status-bg default
# Set color for status bar
set-option -g status-bg default
set-option -g status-fg yellow #yellow
set-option -g status-attr dim
# Set window list colors - red for active and cyan for inactive
set-window-option -g window-status-fg brightblue
set-window-option -g window-status-bg default
set-window-option -g window-status-attr bright
set-window-option -g window-status-current-fg brightgreen
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-attr bright
set -g status-right "%l:%M %p :: %d %b %Y"
# keep tmux msgs around longer
set -g display-time 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment