Skip to content

Instantly share code, notes, and snippets.

@rachid
Created August 16, 2013 19:47
Show Gist options
  • Save rachid/6252957 to your computer and use it in GitHub Desktop.
Save rachid/6252957 to your computer and use it in GitHub Desktop.
tmux
unbind %
bind \ split-window -h
bind - split-window -v
set -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g default-terminal "screen-256color"
set -s escape-time 0
set -g renumber-windows on
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-key C-a last-window
bind -r - resize-pane -U
bind -r + resize-pane -D
bind -r < resize-pane -L
bind -r > resize-pane -R
set -g status-left-length 20
set -g status-bg '#242424'
set -g status-fg '#999999'
set -g window-status-bg '#242424'
set -g window-status-fg cyan
set -g window-status-attr dim
set -g message-fg '#ffffff'
set -g message-bg '#242424'
set -g message-attr bright
setw -g window-status-current-bg '#242424'
setw -g window-status-current-fg red
setw -g window-status-current-attr bright
setw -g automatic-rename off
set -g status-justify centre
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P"
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