Skip to content

Instantly share code, notes, and snippets.

@jaytaylor
Created August 30, 2011 01:53
Show Gist options
  • Save jaytaylor/1179953 to your computer and use it in GitHub Desktop.
Save jaytaylor/1179953 to your computer and use it in GitHub Desktop.
TMux Configuration
# Make it use C-a, similar to screen..
unbind C-b
unbind l
set -g prefix C-a
bind-key C-a last-window
# Reload key
bind r source-file ~/.tmux.conf
set -g default-terminal "screen-256color"
set -g history-limit 1000
# THEME
set -g status-bg black
set -g status-fg white
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
#set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]'
set -g status-right ‘#[fg=yellow]#(uptime | cut -d “,” -f 2-)’
set-window-option -g window-status-current-bg red
# window splitting
unbind %
bind | split-window -h
bind - split-window -v
# window title
setw -g automatic-rename
# act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment