diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/zle.yo | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 1b1ecd75d..d1ac1cd45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-11-04 Daniel Shahaf <d.s@daniel.shahaf.name> + + * users/22080: Doc/Zsh/zle.yo: bracketed-paste: Third time's + a charm. + 2016-11-04 Peter Stephenson <p.stephenson@samsung.com> * Sebastian: 39825: Src/utils.c: Optimise mb_metastrlenend() for 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; |