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.
On Fri, Apr 22, 2011 at 5:20 PM, Randy Stauner
<ra...@magnificent-tears.com>wrote:
> I can bind a key in copy mode (bind-key -t vi-copy Y end-of-line),
> but I haven't yet found a way to bind a single key to multiple copy-mode
> commands...
>
> Specifically I am trying to recreate a key I used in screen a lot...
> in copy mode Y would just copy the whole current line...
>
> so for tmux I was trying to do something like:
>
> bind-key -t vi-copy Y back-to-indentation begin-selection end-of-line
> copy-selection
>
> is there a way to send multiple copy-mode commands in a single command?
> I tried with semicolons and back-slash escaped semi-colons and have not yet
> been successful.
>
> Any advice?
> Thanks.
> - Randy
>
>
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users