diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-01 17:03:28 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-03 16:44:14 +0000 |
commit | 0e9faf67aa44e5de814d25925320d9e7dcfdaf09 (patch) | |
tree | 280659614cd34991e6b3905c46e3e74a8ab123a1 /Doc/Zsh | |
parent | ad085f1dec0131b430760b739b59d9a74579199a (diff) | |
download | zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar.gz zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.tar.xz zsh-0e9faf67aa44e5de814d25925320d9e7dcfdaf09.zip |
users/22063: bracketed-paste: Document ability to specify a vi register. (after users/22036)
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/zle.yo | 5 |
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 |