It would not be a big code change to make the a key add the top paste
buffer to the search string in the same way as C-y works in the command
prompt.


On Fri, Aug 31, 2012 at 01:16:08PM -0700, Edward Peschko wrote:
> hello all,
> 
> Screen has a very useful ability that would be great to have in tmux -
> namely the ability to use the contents of a buffer in a forward or
> backwards search.
> 
> Assuming screen keybindings:
> 
>     C-a Esc ? (to enter search mode)
>     ... search up and select certain amount of text using v and y
> 
>     C-a Esc ? (to enter search mode)
>     C-a ] (pastes text from buffer into the search menu)
> 
>     <return> (searches for that text string)
>     n gets next instance of that text string
> 
> This is one of my favorite features in screen - and use it constantly.
> As it stands, the only workaround I can see is to use the mouse to
> copy and text from the tmux window, and then paste that text into the
> tmux window, which of course slows down workflow tremendously. And,
> even this workaround doesn't work so well when the panes are split
> vertically and laying side by side.
> 
> So, hopefully, this is an easy thing to implement because there is no
> good workaround here and I'm already missing having it quite a bit.
> I've opened up a feature request on the tmux feature page, so it can
> be tracked there.
> 
> Pointing out other workarounds I'm missing is greatly appreciated as well.
> 
> Thanks much,
> 
> Ed
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to