File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- *eval.txt* For Vim バージョン 9.1. Last change: 2025 Oct 16
1+ *eval.txt* For Vim バージョン 9.1. Last change: 2025 Oct 18
22
33
44 VIMリファレンスマニュアル by Bram Moolenaar
Original file line number Diff line number Diff line change 1- *eval.txt* For Vim version 9.1. Last change: 2025 Oct 16
1+ *eval.txt* For Vim version 9.1. Last change: 2025 Oct 18
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5356,30 +5356,30 @@ OSC52 command: >vim
53565356 func Available()
53575357 return "*"
53585358 endfunc
5359-
5359+
53605360 func Paste(reg, type)
53615361 " If implicit access, don't do anything
53625362 if a:type == "implicit"
53635363 return "previous"
53645364 endif
5365-
5365+
53665366 augroup OSC
53675367 autocmd!
53685368 autocmd TermResponseAll osc ++once call feedkeys("\<F30> ", '!')
53695369 augroup END
5370-
5370+
53715371 " Send command
53725372 call echoraw("\<Esc> ]52;;?\<Esc> \\")
5373-
5373+
53745374 " Wait until autocmd is triggered
53755375 while getchar(-1) != "\<F30> "
53765376 endwhile
5377-
5377+
53785378 autocmd! OSC
5379-
5379+
53805380 " Extract the base64 stuff
53815381 let l:stuff = matchstr(v:termosc, '52;.\+;\zs[A-Za-z0-9+/=]\+')
5382-
5382+
53835383 return ("", blob2str(base64_decode(l:stuff)))
53845384 endfunc
53855385
You can’t perform that action at this time.
0 commit comments