about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-26 22:52:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-26 22:52:50 +0000
commit91a10708b25b78d36549de0177e2330670fe163d (patch)
tree860dc6613bcdbb00961d6b6d4081ec2346973b01 /Doc/Zsh/zle.yo
parent8a323cae8caaf8ffb9da3622469d21edbb027948 (diff)
downloadzsh-91a10708b25b78d36549de0177e2330670fe163d.tar.gz
zsh-91a10708b25b78d36549de0177e2330670fe163d.tar.xz
zsh-91a10708b25b78d36549de0177e2330670fe163d.zip
24822: highlighting of isearch matches
unposted: not in NEWS that COMBINING_CHARS is not on by default
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo9
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 04d195bb8..888c87ea1 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2064,6 +2064,10 @@ The contexts available for highlighting are the following:
 startitem()
 cindex(region, highlighting)
 cindex(highlighting, region)
+item(tt(isearch))(
+When one of the incremental history search widgets is active, the
+area of the command line matched by the search string or pattern.
+)
 item(tt(region))(
 The region between the cursor (point) and the mark as set with
 tt(set-mark-command).  The region is only highlighted if it is active,
@@ -2102,7 +2106,7 @@ mode.  The actual effect is specific to the terminal; on many terminals it
 is inverse video.  On some such terminals, where the cursor does not blink
 it appears with standout mode negated, making it less than clear where
 the cursor actually is.  On such terminals one of the other effects
-may be preferable for highlighting the region.
+may be preferable for highlighting the region and matched search string.
 )
 item(tt(underline))(
 The characters in the given context are shown underlined.  Some
@@ -2133,7 +2137,8 @@ enditem()
 If tt(zle_highlight) is not set or no value applies to a particular
 context, the defaults applied are equivalent to
 
-example(zle_highlight=LPAR()region:standout special:standout+RPAR())
+example(zle_highlight=LPAR()region:standout special:standout
+isearch:underline+RPAR())
 
 i.e. both the region and special characters are shown in standout mode.