summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-01 17:03:28 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-03 16:44:14 +0000
commit0e9faf67aa44e5de814d25925320d9e7dcfdaf09 (patch)
tree280659614cd34991e6b3905c46e3e74a8ab123a1 /Doc
parentunposted: fix typo that was causing handling of "--" argument to fail (diff)
downloadzsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar
zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar.gz
zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar.bz2
zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar.lz
zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar.xz
zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar.zst
zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.zip
users/22063: bracketed-paste: Document ability to specify a vi register. (after users/22036)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/zle.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 64bfcc2d3..63f673ba3 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2175,9 +2175,12 @@ item(tt(bracketed-paste))(
This widget is invoked when text is pasted to the terminal emulator. It
is not intended to be bound to actual keys but instead to the special
sequence generated by the terminal emulator when text is pasted.
-The pasted text is inserted to the buffer and placed in the cutbuffer.
+
+When invoked interactively, the pasted text is inserted to the buffer.
If a numeric argument is given, shell quoting will be applied to the
pasted text before it is inserted.
+The text is also placed in the cutbuffer, or in the specified register
+(tt("x) in vi mode).
When called from a widget function as `tt(bracketed-paste) var(name)`, the
pasted text is assigned to the variable var(name) and no other processing is