From 0e9faf67aa44e5de814d25925320d9e7dcfdaf09 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 1 Nov 2016 17:03:28 +0000 Subject: users/22063: bracketed-paste: Document ability to specify a vi register. (after users/22036) --- ChangeLog | 5 +++++ Doc/Zsh/zle.yo | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 659b4d1a9..4a08d2664 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-11-03 Daniel Shahaf + + * users/22063: Doc/Zsh/zle.yo: bracketed-paste: Document ability + to specify a vi register. (after users/22036) + 2016-11-03 Daniel Hahler * 39822: Completion/Unix/Command/_git: remove "-A '-*'" with _arguments for some commands. 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 -- cgit 1.4.1