=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.326 retrieving revision 1.327 diff -c -r1.326 -r1.327 *** src/usr.bin/tmux/tmux.1 2013/03/22 15:51:54 1.326 --- src/usr.bin/tmux/tmux.1 2013/03/22 15:52:40 1.327 *************** *** 1,4 **** ! .\" $OpenBSD: tmux.1,v 1.326 2013/03/22 15:51:54 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" --- 1,4 ---- ! .\" $OpenBSD: tmux.1,v 1.327 2013/03/22 15:52:40 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" *************** *** 850,856 **** .It Li "Start of line" Ta "0" Ta "C-a" .It Li "Start selection" Ta "Space" Ta "C-Space" .It Li "Top of history" Ta "g" Ta "M->" ! .It Li "Transpose chars" Ta "" Ta "C-t" .El .Pp The next and previous word keys use space and the --- 850,856 ---- .It Li "Start of line" Ta "0" Ta "C-a" .It Li "Start selection" Ta "Space" Ta "C-Space" .It Li "Top of history" Ta "g" Ta "M->" ! .It Li "Transpose characters" Ta "" Ta "C-t" .El .Pp The next and previous word keys use space and the *************** *** 912,917 **** --- 912,928 ---- .Ic bind-key and .Ic unbind-key . + One command in accepts an argument, + .Ic copy-pipe , + which copies the selection and pipes it to a command. + For example the following will bind + .Ql C-q + to copy the selection into + .Pa /tmp + as well as the paste buffer: + .Bd -literal -offset indent + bind-key -temacs-copy C-q copy-pipe "cat >/tmp/out" + .Ed .Pp The paste buffer key pastes the first line from the top paste buffer on the stack.