Re: how to make tmux both copy-pipe and clear selection ?

2017-03-23 Thread Nicholas Marriott
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

Re: how to make tmux both copy-pipe and clear selection ?

2017-03-23 Thread Nicholas Marriott
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" >

how to make tmux both copy-pipe and clear selection ?

2017-03-23 Thread Shiyao Ma
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