Skip to content

Instantly share code, notes, and snippets.

@phudgins
Created September 24, 2012 13:27
Show Gist options
  • Save phudgins/3775944 to your computer and use it in GitHub Desktop.
Save phudgins/3775944 to your computer and use it in GitHub Desktop.
current tmux conf
# Use zsh
set-option -g default-shell /usr/bin/zsh
# It's 2012
set -g default-terminal "screen-256color"
# use v and s for windows splits
unbind %
bind s split-window -v
bind v split-window -h
# use hjkl for moving
# and HJKL for resizing
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# Coloring everything
set -g status-fg white
set -g status-bg black
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
set -g pane-border-fg white
set -g pane-border-bg black
set -g pane-active-border-fg green
set -g pane-active-border-bg black
set -g message-fg white
set -g message-bg black
set -g message-attr bright
# statusbar
set -g status-utf8 on
set -g status-interval 60
set -g status-left-length 40
set -g status-justify centre
set -g status-left "#[fg=green]#S"
set -g status-right "#[fg=cyan]%d %b %R"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment