Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: two useful binds



On Apr 4, 10:38pm, Drew Perttula wrote:
} Subject: Re: two useful binds
}
} On Tue, 2006-04-04 at 08:45 +1000, Michael Wardle wrote:
} > this works better with Alt-p bound to history-beginning-search-backward
} > instead of history-search-backward.
} 
} But how do you know how much line prefix to type in order to get a
} correct match, and how do you efficiently deal with multiple history
} lines with the same long prefix?

One can type alt-p repeatedly to continue searching, just as with ctrl-r.
If necessary, one can type the binding for end-of-buffer-or-history to
get back to the original pattern, add more text, and then alt-p again.

I'm not necessarily advocating this over incremental search, but you
asked, so ...



Messages sorted by: Reverse Date, Date, Thread, Author