[sup-talk] new in svn: in-buffer search
vasudeva
vasudeva at linkswarm.com
Wed Nov 7 09:25:27 EST 2007
* on 11-07-07, Marcus Williams wrote:
> On 6.11.2007, William Morgan wrote:
> > First, note that I've remapped the index search from '/' to '\'. Hah!
> >
> > '/' now does an in-buffer search, highlights the results, and jumps to
> > the first one. 'n' jumps to the next result; ^G or any other key cancels
> > the current search.
>
> This feels a bit wrong to me (might just be me though). I'd say that
> searching for emails is the most used case for a search option in sup
> so should have the '/', and searching in buffer should be something
> different.
>
> Better than that, make '/' mode dependant so you can use say ctrl-s to
> search for emails (always), ctrl-f to search in buffer (always) but
> map '/' to ctrl-s in thread-index mode (so that would be in inbox and
> search results). In all other modes '/' could map to ctrl-f.
For purposes of migration from existing tools, and conforming to
established UNIX conventions, I like keeping / as buffer search (per
the 'screen search' CLI norm) and \ as ferret-index search (somewhat
unusual functionality in terms of CLI app search conventions, thus
deserving of a lower-priority keybinding).
That said, I think mode-dependency could be a neat resolve.
/></
--
linkswarm.com :: Collaborative Insolence
vasudeva.linkswarm.com/gallery :: For The Faint of Heart
More information about the sup-talk
mailing list