I'd like to see copy-line-to-end like C-k in emacs.


On Thu, Apr 28, 2011 at 08:11:53AM -0700, Randy Stauner wrote:
>    With:
>    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. **:-)
> 
>    Thanks!
>    On Fri, Apr 22, 2011 at 11:53 PM, Micah Cowan <[1]mi...@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
>      [2]http://micah.cowan.name/
> 
> References
> 
>    Visible links
>    1. mailto:mi...@cowan.name
>    2. http://micah.cowan.name/

> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to