Skip to content

Instantly share code, notes, and snippets.

@setekhid
Last active June 1, 2017 09:48
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 setekhid/f8627a0894ec3fad5899a90e2b557916 to your computer and use it in GitHub Desktop.
Save setekhid/f8627a0894ec3fad5899a90e2b557916 to your computer and use it in GitHub Desktop.
~HOME
# window index from 1
set -g base-index 1
# vi key binding in copy mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-selection
# vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# always renumber to gapless window
set-option -g renumber-windows on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment