Skip to content

Instantly share code, notes, and snippets.

@belljustin
Created October 16, 2016 15:42
Show Gist options
  • Select an option

  • Save belljustin/b8b6e1cd038c00147aedbe983ed12801 to your computer and use it in GitHub Desktop.

Select an option

Save belljustin/b8b6e1cd038c00147aedbe983ed12801 to your computer and use it in GitHub Desktop.
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# switch panes using Alt-arrow without prefix
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-j select-pane -U
bind -n M-k select-pane -D
# highlight activrrpane
set-option -g pane-active-border-fg blue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment