diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-09-09 07:25:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-09 07:25:32 -0400 |
| commit | cb2e9cdfd3e81e644324ff42aaff6f360610d056 (patch) | |
| tree | 904d453770f69c084b072fff5e0951000d391aed /runtime/syntax/python.vim | |
| parent | efdd73c0962cf46889d2e043efb892cf3ec432b7 (diff) | |
| download | rneovim-cb2e9cdfd3e81e644324ff42aaff6f360610d056.tar.gz rneovim-cb2e9cdfd3e81e644324ff42aaff6f360610d056.tar.bz2 rneovim-cb2e9cdfd3e81e644324ff42aaff6f360610d056.zip | |
fix(multicursor): clipboard=unnamed, explicit "+yy #41804
Problem:
- With `clipboard=unnamed[plus]`, per-cursor yanks are joined into '"'
on exit, but not the clipboard.
- Multicursor `"+yy` calls the clipboard provider per-cursor, behaving
as "last wins".
Solution:
- Never cascade to/from the clipboard provider.
- Implicit clipboard (`clipboard=unnamed[plus]`) uses the cursor-local
unnamed register, so the cascade needs no `start_batch_changes()`. On
exit, the clipboard gets the same joined result as the `"` register.
- Operations that reference the explicit clipboard registers `"+` / `"*`
while multicursor is active, use the cached (primary) clipboard value.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions