The following code used to work in my
# Mac OS X: bind-key -n -t emacs-copy M-w copy-pipe "reattach-to-user-namespace pbcopy" # Move tmux copy buffer into x clipboard unbind-key M-w bind-key -n M-w run "tmux save-buffer - | xclip -i -selection clipboard" \; display-message 'Copying to clipboard'
It stopped working just recently, so I can't copy text anymore from tmux to elsewhere. I am guessing this is the result of upgrading tmux or
I now get the following error:
invalid or unknown command: bind-key -n -t emacs-copy M-w copy-pipe "reattach-to-user-namespace pbcopy"
Here are the versions I am using (from
What may have changed, and how can I go about restoring my ability to copy from
tmux to the system?