Skip to content

Instantly share code, notes, and snippets.

@dry
Created March 28, 2013 14:27
Show Gist options
  • Save dry/5263549 to your computer and use it in GitHub Desktop.
Save dry/5263549 to your computer and use it in GitHub Desktop.
# Set Vi Mode
setw -g mode-keys vi
# Reload Config
bind-key R source-file "$HOME/.tmux_conf"\; display-message "Configuration Reloaded"
# Option+Arrow
bind-key -n M-Left previous-window
bind-key -n M-Right next-window
# Window Splits
bind s split-window -v
bind v split-window -h
# Vim Motion Keys Panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Status Bar
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg red
# Window Notifications
setw -g monitor-activity on
set -g visual-activity on
# Terminal Mode
set -g default-terminal "xterm-256color"
# History
set -g history-limit 4096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment