bind-key Y send-keys '^' Space '$' Enter
I can hit prefix + Y in copy-mode and get it to copy the line.

Not an optimal solution, but an acceptable workaround.

Of course now I remember that that sequence used to be repeatable (5Y to copy 5 lines)...
that may be a bit trickier to recreate.
It might be easier to patch the source and add a copy-line command instead...
i'll put that on my todo list.  :-)


On Fri, Apr 22, 2011 at 11:53 PM, Micah Cowan <micah@cowan.name> wrote:
On 04/22/2011 05:26 PM, Randy Stauner wrote:
> I first tried using send-keys (bind-key -t vi-copy send-keys ^ ' ' $ Enter)
> but send-keys isn't a valid command in copy-mode.

Drop the -t vi-copy; you want to use a normal-map binding so you can use
the normal-map command (of course, this means you'll need to hit the
prefix before the bound key, or else use -n.

Micah J. Cowan