diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-10 19:14:26 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-10 19:14:34 +0000 |
commit | c088906423ba22eef8d57c84b396f8d5be83ca45 (patch) | |
tree | 269b097837199371430d443050ec43b31f5bab57 /Doc/Zsh/zle.yo | |
parent | e86b3cce47e62c263301322ce24b56cf04b8cdb8 (diff) | |
download | zsh-c088906423ba22eef8d57c84b396f8d5be83ca45.tar.gz zsh-c088906423ba22eef8d57c84b396f8d5be83ca45.tar.xz zsh-c088906423ba22eef8d57c84b396f8d5be83ca45.zip |
36445: Expose yankb, yanke, ZLE_YANK to widgets.
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r-- | Doc/Zsh/zle.yo | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index 0613697a0..2c539c460 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -1005,6 +1005,18 @@ 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(YANK_ACTIVE) +vindex(YANK_START) +vindex(YANK_END) +xitem(tt(YANK_ACTIVE) (integer)) +xitem(tt(YANK_START) (integer)) +item(tt(YANK_END) (integer))( +These three parameters indicate whether text has just been yanked (pasted) +into the buffer. tt(YANK_START) and tt(YANK_END) are in the same unit sas +tt(CURSOR), and are only valid when tt(YANK_ACTIVE) is non-zero. + +All three are read-only. +) vindex(ZLE_STATE) item(tt(ZLE_STATE) (scalar))( Contains a set of space-separated words that describe the current tt(zle) |