about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-08-11 12:48:19 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-08-11 12:48:19 +0000
commit80eee3a4a336a0a91d73be5cd752d5f788661d4b (patch)
tree0c9223f272a769653385e5a080e4a0f20459df06 /Doc
parent0bb608abc417f5dea96d2fc7e65ac125b5153f83 (diff)
downloadzsh-80eee3a4a336a0a91d73be5cd752d5f788661d4b.tar.gz
zsh-80eee3a4a336a0a91d73be5cd752d5f788661d4b.tar.xz
zsh-80eee3a4a336a0a91d73be5cd752d5f788661d4b.zip
28122 (Frank) / 28139: add ZLE_STATE
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/zle.yo11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 0e2fea5bd..722232835 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -854,6 +854,17 @@ executed; the second argument that followed tt(zle -C) when the widget was
 defined.  This is the name of a builtin completion widget.  For widgets
 defined with tt(zle -N) this is set to the empty string.  Read-only.
 )
+vindex(ZLE_STATE)
+item(tt(ZLE_STATE) (scalar))(
+Contains a set of space-separated words that describe the current tt(zle)
+state.
+
+Currently, the only state shown is the insert mode as set by the
+tt(overwrite-mode) or tt(vi-replace) widgets.  The string contains
+`tt(insert)' if characters to be inserted on the command line move existing
+characters to the right, `tt(overwrite)' if characters to be inserted
+overwrite existing characters.
+)
 enditem()
 
 subsect(Special Widgets)