diff options
author | Andrei Heidelbacher <andrei.heidelbacher@gmail.com> | 2025-03-24 13:17:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 05:17:56 -0700 |
commit | 563051a53ef92349e3bfc0c94421094396a296bf (patch) | |
tree | c4e8f9304650ef817c393bdc88eb93e8cea82498 /runtime/doc | |
parent | af4231d4070c8d664b919f5466a827905881ef32 (diff) | |
download | rneovim-563051a53ef92349e3bfc0c94421094396a296bf.tar.gz rneovim-563051a53ef92349e3bfc0c94421094396a296bf.tar.bz2 rneovim-563051a53ef92349e3bfc0c94421094396a296bf.zip |
feat(clipboard): support g:clipboard="osc52" #33021
Problem:
Forcing Neovim to use OSC52 for the system clipboard should be simple
and concise, since OSC52 is widely supported (Alacritty, Ghostty,
iTerm2, WezTerm, Kitty, xterm, tmux, etc.) and is the most portable
approach for syncing clipboards across SSH.
Solution:
Support g:clipboard="osc52".
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/provider.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt index 24ec170319..38bf6281d3 100644 --- a/runtime/doc/provider.txt +++ b/runtime/doc/provider.txt @@ -277,6 +277,9 @@ To disable the automatic detection, set the "osc52" key of |g:termfeatures| to To force Nvim to always use the OSC 52 provider you can use the following |g:clipboard| definition: >lua + vim.g.clipboard = 'osc52' + +Which is equivalent to: >lua vim.g.clipboard = { name = 'OSC 52', copy = { |