Skip to content

Instantly share code, notes, and snippets.

@cevaris
Created November 22, 2015 22:37
Show Gist options
  • Save cevaris/5e05722af4c1d0811ed6 to your computer and use it in GitHub Desktop.
Save cevaris/5e05722af4c1d0811ed6 to your computer and use it in GitHub Desktop.
Mac OSX tmux emacs copy & paste configuration
$ brew install reattach-to-user-namespace
setw -g mode-keys emacs
bind-key -t emacs-copy [ begin-selection
bind-key -t emacs-copy M-w copy-pipe "reattach-to-user-namespace pbcopy"
unbind -t emacs-copy Enter
bind-key -t emacs-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment