This didn't quite work for me. It was waiting for an EOF in the command and never completed. I eventually used:
bind -t vi-copy y copy-pipe "xclip"
Source: http://unix.stackexchange.com/questions/15715/getting-tmux-to-copy-a-buffer-to-the-clipboard/16405
This didn't quite work for me. It was waiting for an EOF in the command and never completed. I eventually used:
bind -t vi-copy y copy-pipe "xclip"
Source: http://unix.stackexchange.com/questions/15715/getting-tmux-to-copy-a-buffer-to-the-clipboard/16405