Skip to content

Instantly share code, notes, and snippets.

@caasi
Created June 16, 2012 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caasi/2940972 to your computer and use it in GitHub Desktop.
Save caasi/2940972 to your computer and use it in GitHub Desktop.
tmux config
set -g utf8 on
setw -g utf8 on
setw -g mode-keys vi
# status bar
set status on
set -g status-bg default
set -g status-fg colour33
set -g status-justify centre
set -g status-left '[ #H ]'
set -g status-left-length 20
set -g status-right '[ %H:%M %D ]'
# window title
setw -g window-status-fg colour24
# current window
setw -g window-status-current-fg colour51
# powered by tmux the book
set -g prefix C-a
unbind C-b
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "config reloaded"
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
bind -r C-h select-window -t :-
bind -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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment