zsh-users
 help / color / mirror / code / Atom feed
* are there some ways to get things like isearch-{start,end}-position?
@ 2011-09-24  6:26 md 1983
  2011-09-24 18:17 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: md 1983 @ 2011-09-24  6:26 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

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!!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-29  6:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-24  6:26 are there some ways to get things like isearch-{start,end}-position? md 1983
2011-09-24 18:17 ` Bart Schaefer
2011-09-25  4:06   ` Madsen Zhang
2012-03-27  6:58     ` Madsen Zhang
2012-03-27 13:59       ` Bart Schaefer
2012-03-29  6:33         ` Madsen Zhang

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).