Created
November 22, 2015 22:37
-
-
Save cevaris/5e05722af4c1d0811ed6 to your computer and use it in GitHub Desktop.
Mac OSX tmux emacs copy & paste configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install reattach-to-user-namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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