Skip to content

Instantly share code, notes, and snippets.

@aleandros
Created September 3, 2013 13:38
Show Gist options
  • Select an option

  • Save aleandros/6424060 to your computer and use it in GitHub Desktop.

Select an option

Save aleandros/6424060 to your computer and use it in GitHub Desktop.
# status bar colors etc
set-option -g status-bg black
set-option -g status-fg blue
set-option -g status-interval 5
set-option -g visual-activity on
set-window-option -g monitor-activity on
set-window-option -g window-status-current-fg white
# command prefix
set -g prefix C-a
# start window indexing at one instead of zero
set -g base-index 1
unbind % # remove default binding since replacing
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
# Use 256 colors!
set-option -g default-terminal "screen-256color"
# Ctrl+tab/Ctrl-shift-tab for switching windows
bind-key -n C-Space next-window
# Sane scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment