You could use window ids (@1 etc) if you want to go to a specific window
but of course that means you need to look them up first.

I'd be happy with improvements to find-window but I think if we are
adding flags then we should have flags for all the possibilities, so -T
for title, -N for name, -C for content, then the default is -TNC.

I'd also like a -i flag for case insensitive.

Also a flag to search only the active pane for the window. Maybe one to
search only windows with alerts.

Also find-window should use the format code for the text in the choose
list (so should choose-*).

But that's four diffs... just -T -N -C would be ok but if you do one -T
flag I think we should have all three.



On Fri, Mar 16, 2012 at 10:34:57AM -0700, Jonathan Daugherty wrote:
> Hi,
> 
> Would it be possible to add an option to 'find-window' so that it only
> searches the window name?  I like to bind shortcut keys to go to
> specific windows, and that works great until (sometimes) the content
> of some other window also matches the window name I'm trying to go
> to.
> 
> I'm thinking
> 
>   find-window -T pat
> 
> would match only the title against the pattern 'pat'.  What do you
> think?
> 
> I'm willing to write a patch, but if folks who know the codebase
> could make this change more easily, that would be more expedient.
> 
> Thanks!
> 
> -- 
>   Jonathan Daugherty
>   Software Engineer
>   Galois, Inc.
> 
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to