diff options
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 |