Skip to content

Instantly share code, notes, and snippets.

@ellimist
Last active August 9, 2016 21:17
Show Gist options
  • Save ellimist/b697a9660af2b704148504c3e5a73038 to your computer and use it in GitHub Desktop.
Save ellimist/b697a9660af2b704148504c3e5a73038 to your computer and use it in GitHub Desktop.
set -g default-terminal "screen-256color"
set -g prefix C-a
unbind C-b
bind C-a send-prefix
set -sg escape-time 1
set-option -g base-index 1
setw -g pane-base-index 1
bind | split-window -h
bind - split-window -v
bind T swap-window -t 1
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
set -g renumber-windows on
setw -g mode-keys vi
set-option -g allow-rename off
set-window-option -g automatic-rename off
set-option -g history-limit 9000
# Pane border colors
set -g pane-border-fg colour238
set -g pane-active-border-fg colour242
set-option -g status on # turn the status bar on
set -g status-interval 5 # set update frequencey (default 15 seconds)
set -g status-justify left # center window list for clarity
# set-option -g status-position top # position the status bar at top of screen
# show session name, window & pane number, date and time on right side of
# status bar
#set -g status-right-length 60
set -g status-right "%d %b %Y #[fg=green]:: %l:%M %p"
set-window-option -g window-status-current-fg colour255
set-window-option -g window-status-current-bg colour245
set-window-option -g window-status-current-attr bright
# default statusbar colors
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
set-option -g status-attr default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment