Skip to content

Instantly share code, notes, and snippets.

@xiaq
Created September 22, 2014 08:48
Show Gist options
  • Save xiaq/47e9db93700e4530b0b8 to your computer and use it in GitHub Desktop.
Save xiaq/47e9db93700e4530b0b8 to your computer and use it in GitHub Desktop.
set -g base-index 1
set -s escape-time 20
set -g repeat-time 360
set -g display-time 1000
set -g repeat-time 300
set -g history-limit 65536
set -g default-terminal screen
set -g visual-bell off
set -g set-titles on
set -g status-interval 1
set -g status-utf8 on
set -g status-justify centre
set -g status-left '#[bold,reverse]#H#[default]#S'
set -g status-left-length 16
set -g status-right '%r'
# The following color scheme prefers dark background.
set -g status-fg white
set -g status-bg default
set -g pane-active-border-fg colour33
set -g lock-command vlock
set -g status-left-bg colour28
set -g status-right-bg colour28
set -g message-bg colour230
setw -g window-status-format '#I#F#W'
setw -g window-status-bg black
setw -g window-status-current-format '#[bg=colour166]#I#F#[bg=default]#W'
setw -g window-status-current-bg colour202
setw -g window-status-current-attr bold
setw -g word-separators " -_@."
setw -g mode-keys vi
setw -g utf8 on
setw -g xterm-keys on
setw -g automatic-rename on
# Prefixless bindings
bind -n ^T new-window
bind -n ^L next-window
bind -n ^H previous-window
bind -n ^A send-prefix
bind -n F1 copy-mode
bind -n F2 select-pane -t:.-
bind -n F3 select-pane -t:.+
bind -r ^T send-keys ^T
bind -r ^L send-keys ^L
bind -r ^H send-keys ^H
bind -r ^A send-keys ^A
bind -r F1 send-keys F1
bind -r F2 send-keys F2
bind -r F3 send-keys F3
# Prefixed bindings
bind -r < swap-window -t:-
bind -r > swap-window -t:+
#bind -r o select-pane -t:.-
#bind -r i select-pane -t:.+
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
bind t new-window
bind Tab choose-window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment