diff options
author | Oliver Kiddle <opk@zsh.org> | 2022-11-17 20:05:12 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2022-11-17 20:05:12 +0100 |
commit | c4d557bb0a9cf6a7241f760ad466e2d91359ceb2 (patch) | |
tree | 9441513ef4b6f3fabdeb1a9a31ed1a971c3b63d1 /Doc | |
parent | b1533066ca7d50c88b37ce72093c12cf19807818 (diff) | |
download | zsh-c4d557bb0a9cf6a7241f760ad466e2d91359ceb2.tar.gz zsh-c4d557bb0a9cf6a7241f760ad466e2d91359ceb2.tar.xz zsh-c4d557bb0a9cf6a7241f760ad466e2d91359ceb2.zip |
50934: use OSC 52 escape sequence when copying to "* or "+ vi buffers
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/zle.yo | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index 2d033a0a1..58700072a 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -2470,10 +2470,11 @@ command. tt(run-help) is normally aliased to tt(man). tindex(vi-set-buffer) item(tt(vi-set-buffer) (unbound) (tt(")) (unbound))( Specify a buffer to be used in the following command. -There are 37 buffers that can be specified: +There are 39 buffers that can be specified: the 26 `named' buffers tt("a) to tt("z), the `yank' buffer tt("0), -the nine `queued' buffers tt("1) to tt("9) and the `black hole' buffer -tt("_). The named buffers can also be specified as tt("A) to tt("Z). +the nine `queued' buffers tt("1) to tt("9), the `black hole' buffer +tt("_) and the system selection tt("*) and clipboard tt("+). +The named buffers can also be specified as tt("A) to tt("Z). When a buffer is specified for a cut, change or yank command, the text concerned replaces the previous contents of the specified buffer. If @@ -2482,6 +2483,10 @@ appended to the buffer instead of overwriting it. When using the tt("_) buffer, nothing happens. This can be useful for deleting text without affecting any buffers. +Updating the system clipboard relies on specific support from the terminal. +Reading it is not possible so a paste command with tt("*) or tt("+) will do +nothing. + 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; the contents of tt("9) is lost. If no buffer is specified for a yank |