Skip to content

Instantly share code, notes, and snippets.

@bentomas
Created February 13, 2011 21:21
Show Gist options
  • Save bentomas/825146 to your computer and use it in GitHub Desktop.
Save bentomas/825146 to your computer and use it in GitHub Desktop.
############### SETTINGS ###############
# make it so there is no delay after hitting 'esc' to wait for a meta key.
# This makes vim bearable
set-option -s escape-time 0
# allow both Ctrl+b and Option+b to get to tmux command mode
set -g prefix C-b,M-b
# 256 colors
set -g default-terminal "screen-256color"
# change font color in status bar
set -g status-fg white
# act like vim
setw -g mode-keys vi
############### BINDINGS ###############
# Option+h moves to a panel to the left
bind-key -n M-h select-pane -L
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-l select-pane -R
# reload source file easily
bind r source-file ~/.tmux.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment