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

are there some ways to get things like isearch-{start,end}-position?



I want to upon exiting isearch mode always place the cursor in ZLE at the
position as specified by the variable "isearch_start" in zsh's source code,
no matter it's a forward or backward search.

Now ZLE has special parameters like CURSOR and MARK but it seems there are
currently no special parameters about the range for "the area of the
command line matched by the search string or pattern".

Or are there some other configuration that I could use to achieve this goal
(to place the cursor at the start position of matched isearch area
independent of the search direction)?

thanks!!


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