Skip to content

Instantly share code, notes, and snippets.

@l1x
Created April 26, 2019 18:50
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 l1x/51e7ec94526dc7d0aba77b31378df48b to your computer and use it in GitHub Desktop.
Save l1x/51e7ec94526dc7d0aba77b31378df48b to your computer and use it in GitHub Desktop.
set -g prefix C-a
unbind C-b
bind C-a send-prefix
setw -g mode-keys vi
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment