Re: [dev] tmux export buffer to pastebin

2013-07-19 Thread Chris Down
On 13 July 2013 07:50, Kai Hendry wrote: > bind-key p capture-pane -S -32768 \; save-buffer /tmp/tmux-buffer \; > run "cat /tmp/tmux-buffer | curl -F 'sprunge=<-' http://sprunge.us > | tmux load-buffer -; tmux show-buffer" You can just do: curl -F 'sprunge=@/tmp/tmux-buffer' sprunge.us

Re: [dev] tmux export buffer to pastebin

2013-07-19 Thread stanio
* Kai Hendry 2013-07-13 07:50 > Since hopefully most of you are running http://st.suckless.org/ and > tmux, perhaps you'll find this bind interesting: > > bind-key p capture-pane -S -32768 \; save-buffer /tmp/tmux-buffer \; > run "cat /tmp/tmux-buffer | curl -F 'sprunge=<-' http://sprunge.us > | t

Re: [dev] tmux export buffer to pastebin

2013-07-19 Thread Martti Kühne
On Sat, Jul 13, 2013 at 7:50 AM, Kai Hendry wrote: > Hi guys, > > Since hopefully most of you are running http://st.suckless.org/ and > tmux, perhaps you'll find this bind interesting: > Although I use tmux on a daily basis I'm not sure how relevant this is for this list. Also, I'm not particula

[dev] tmux export buffer to pastebin

2013-07-12 Thread Kai Hendry
Hi guys, Since hopefully most of you are running http://st.suckless.org/ and tmux, perhaps you'll find this bind interesting: bind-key p capture-pane -S -32768 \; save-buffer /tmp/tmux-buffer \; run "cat /tmp/tmux-buffer | curl -F 'sprunge=<-' http://sprunge.us | tmux load-buffer -; tmux show-buf