Skip to content

Instantly share code, notes, and snippets.

@mikedamage
Created November 14, 2011 18:47
Show Gist options
  • Save mikedamage/1364725 to your computer and use it in GitHub Desktop.
Save mikedamage/1364725 to your computer and use it in GitHub Desktop.
# Tmux Custom Config
# Custom Color Scheme
set -g status-bg blue
set -g status-fg white
set-window-option -g window-status-current-bg white
set-window-option -g window-status-current-fg black
# Key Bindings
unbind %
bind-key | split-window -h
bind-key - split-window -v
bind-key r source-file ~/.tmux.conf
bind-key Tab select-pane -D
# Options
set-option -g set-titles off
set-option -g base-index 1 # Windows start at 1 instead of 0
set-window-option -g monitor-activity on
# = Vim Style Key Bindings
# == Vim style navigation in copy mode
setw -g mode-keys vi
# == Pane splitting
bind s split-window -v
bind v split-window -h
# == Pane navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# == Resize panes like vim
bind < resize-pane -L 1
bind > resize-pane -R 1
bind - resize-pane -D 1
bind + resize-pane -U 1
# vim: set syntax=tmux :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment