Re: [dev] tmux export buffer to pastebin

From: <stanio_AT_cs.tu-berlin.de>
Date: Fri, 19 Jul 2013 14:49:17 +0200

* 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
> | tmux load-buffer -; tmux show-buffer"

not sure I find it useful as a binding in tmux -- never had this use
case.

But I have already piped some stuff to sprunge from a file since you
posted it. It was very helpful. So, thank you for sharing.

--s_
Received on Fri Jul 19 2013 - 14:49:17 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 19 2013 - 15:00:03 CEST