My goal is to replicate the middle-mouse copy-paste functionality in linux.
I can display the output of this clipboard in a pane via:
bind-key -T root MouseDown2Pane run-shell "xclip -selection primary -o"
I'd like to directly insert this output into the pane (i.e. similar to send-keys
) but I don't see a way to link the 2 commands together.
I'm running tmux version 2.1.