Try \\; instead of \;
On Thu, Mar 23, 2017 at 07:31:55PM +0800, Shiyao Ma wrote: > Here's the error I got: > a*-a*-a*- tmux bind-key -Tcopy-mode-vi y send -X copy-pipe "nc localhost > 8377" \; send -X clear-selection > not in a mode > On Mar 23, 2017, 19:30 +0800, Nicholas Marriott > <[email protected]>, wrote: > > send -X copy-pipe "abc" \; send -X clear-selection > > On Thu, Mar 23, 2017 at 06:40:27PM +0800, Shiyao Ma wrote: > > Hi, > I'd like to tmux run the copy-pipe and then clear -selection. > The following binding fails. > tmux bind-key -Tcopy-mode-vi y send -X copy-pipe "nc localhost 8377" > clear-selection > failed. > > -- > You received this message because you are subscribed to the Google > Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send > an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
