Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Doc for bracketed-paste
- X-seq: zsh-workers 49391
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Doc for bracketed-paste
- Date: Tue, 7 Sep 2021 17:27:38 -0700
- Archived-at: <https://zsh.org/workers/49391>
- List-id: <zsh-workers.zsh.org>
Shouldn't it say there are default bindings?
Maybe it should also recommend against changing the default, since the
sequence to end the paste is hardwired in C, but I haven't attempted
to address that.
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 9694a1f74..6d517b81b 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2222,7 +2222,7 @@ item(tt(beep))(
Beep, unless the tt(BEEP) option is unset.
)
tindex(bracketed-paste)
-item(tt(bracketed-paste))(
+item(tt(bracketed-paste) (tt(^[[200~)) (tt(^[[200~)) (tt(^[[200~)))(
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author