> Sometimes when I want to distinguish between commands in the history > what differs them or makes them special is far from each other in the > command making reverse-i-search function very bad. Since I have to type > everything in between exactly, because it hits only on the full string. > > example: > . ~/virtualenv/py26/bin/activate; ~/projects/project/manage.py runserver > > Relevant parts: "py26" and "project" > > Solution: > Let spaces in reverse-i-search hit individually.
What you want is a regular expression search where the space is mapped to ".*". I wonder if it might be better to add that to the non-incremental search code instead of a special case like this. (The problem with an incremental regexp search is that you essentially have to start the search over with every character. You could do it, but is it worth it?) Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/