[dev] tmux export buffer to pastebin

From: Kai Hendry <hendry_AT_webconverger.com>
Date: Sat, 13 Jul 2013 13:50:20 +0800

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-buffer"

Which I used here for example: http://sprunge.us/XRFS

So it's a way of people showing their output, which can be used for
teaching/debugging etc.

Would be cool to easily make videos ala http://youterm.com or
highlight selections.

Also it would be nice if tmux could bind the
http://en.wikipedia.org/wiki/Print_screen button with `bind -u`.
Though `cat -v` doesn't seem to notice when I hit PrtSc on my
keyboard.

Cheers,
Received on Sat Jul 13 2013 - 07:50:20 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 13 2013 - 08:00:06 CEST