about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-03 19:45:33 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-04 15:50:13 +0000
commitfe023d8bac1912e96a4d982ba84a0621fde616d2 (patch)
tree4130950dc94d1670718588b196f464a90adc9fc0 /Doc/Zsh/zle.yo
parent9c68ef083b9ddd94c3ca7027214b2e8a31a1bc47 (diff)
downloadzsh-fe023d8bac1912e96a4d982ba84a0621fde616d2.tar.gz
zsh-fe023d8bac1912e96a4d982ba84a0621fde616d2.tar.xz
zsh-fe023d8bac1912e96a4d982ba84a0621fde616d2.zip
users/22080: bracketed-paste: Third time's a charm.
vi-set-buffer: Eliminate the sole use of the term "register".
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 63f673ba3..b7bb23bbc 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2176,11 +2176,13 @@ 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.
 
-When invoked interactively, the pasted text is inserted to the buffer.
+When invoked interactively, the pasted text is inserted to the buffer
+and placed in the cutbuffer.
 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 a named buffer is specified with tt(vi-set-buffer) (tt("x)),
+the pasted text is stored in that named buffer but not inserted.
 
 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
@@ -2410,7 +2412,7 @@ concerned replaces the previous contents of the specified buffer. If
 a named buffer is specified using a capital, the newly cut text is
 appended to the buffer instead of overwriting it. When using the tt("_)
 buffer, nothing happens. This can be useful for deleting text without
-affecting the normal registers.
+affecting any buffers.
 
 If no buffer is specified for a cut or change command, tt("1) is used, and
 the contents of tt("1) to tt("8) are each shifted along one buffer;