Skip to content

Instantly share code, notes, and snippets.

@corporealfunk
Created April 19, 2012 23:07
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 corporealfunk/2424780 to your computer and use it in GitHub Desktop.
Save corporealfunk/2424780 to your computer and use it in GitHub Desktop.
tmux configuration
unbind C-b
set -g prefix C-a
# resize panes with VIM nav keys
bind -r C-h resize-pane -L
bind -r C-j resize-pane -D
bind -r C-k resize-pane -U
bind -r C-l resize-pane -R
# faster tmux escape wait times?
set -s escape-time 0
# hilite active window
set-window-option -g window-status-current-bg red
set -g default-terminal "screen-256color"
## Screen-like bindings
bind-key C-a last-window
bind-key C-p previous-window
bind-key C-n next-window
bind-key Space next-window
bind-key C-Space next-window
# Allows us to use C-a a <command> to send commands to a TMUX session inside
# another TMUX session
bind-key a send-prefix
# Pane navigation
bind-key -r k select-pane -U
bind-key -r j select-pane -D
bind-key -r h select-pane -L
bind-key -r l select-pane -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment