Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions doc/eval.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*eval.txt* For Vim バージョン 9.2. Last change: 2026 Aug 16
*eval.txt* For Vim バージョン 9.2. Last change: 2026 Aug 18


VIM リファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -967,8 +967,10 @@ Blobの連結 ~
:let longblob = myblob + 0z4455
:let longblob = 0z4455 + myblob
<
Blob は |:let+=| を使うことで、他の Blob とその場で連結することができる: >
Blob は |:let+=| または |extend()| を使うことで、他の Blob とその場で連結する
ことができる: >
:let myblob += 0z6677
:call extend(myblob, 0z6677)
<
Blob をその場で変更する他の方法については、|blob-modification| を参照。

Expand Down Expand Up @@ -1012,10 +1014,11 @@ Blobの一部を変更するには、変更する最初と最後のバイトを
イト数は同じでなければならない: >
:let blob[3:5] = 0z334455

Blob に項目をその場で追加するには、|:let+=| (|blob-concatenation|)を使うことが
できる: >
Blob に項目をその場で追加するには、|:let+=| または |extend()|
(|blob-concatenation|)を使うことができる: >
:let blobA = 0z1122
:let blobA += 0z3344
:call extend(blobA, 0z5566)
<
2 つの Blob が同じ Blob を参照している時は、片方の Blob をその場で変更すると、
他方の Blob もその場で変更される: >
Expand Down Expand Up @@ -5282,4 +5285,19 @@ Vim のクリップボード機能にプロバイダを統合するには、す
\ }
set clipmethod^=test
<
*clipboard-providers-wsl*
Windows WSL の場合は、このスクリプトを試すこと: >vim9
vim9script

var Copy = (_, _, lines: list<string>) => system('wl-copy', lines)
var Paste = (_) => ('', systemlist('wl-paste --no-newline')
->map((_, v) => v->trim("\r", 2)))

v:clipproviders["wslclip"] = {
available: () => executable('wl-copy') && executable('wl-paste'),
copy: { "*": Copy, "+": Copy },
paste: { "*": Paste, "+": Paste }
}
set clipmethod^=wslclip

vim:tw=78:ts=8:noet:ft=help:norl:
25 changes: 22 additions & 3 deletions en/eval.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*eval.txt* For Vim version 9.2. Last change: 2026 Aug 16
*eval.txt* For Vim version 9.2. Last change: 2026 Aug 18


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -993,8 +993,10 @@ Two blobs can be concatenated with the "+" operator: >
:let longblob = myblob + 0z4455
:let longblob = 0z4455 + myblob
<
A blob can be concatenated with another one in-place using |:let+=|: >
A blob can be concatenated with another one in-place using |:let+=| or
|extend()|: >
:let myblob += 0z6677
:call extend(myblob, 0z6677)
<
See |blob-modification| below for more about changing a blob in-place.

Expand Down Expand Up @@ -1039,9 +1041,11 @@ To change part of a blob you can specify the first and last byte to be
modified. The value must have the same number of bytes in the range: >
:let blob[3:5] = 0z334455

To add items to a Blob in-place, you can use |:let+=| (|blob-concatenation|): >
To add items to a Blob in-place, you can use |:let+=| or |extend()|
(|blob-concatenation|): >
:let blobA = 0z1122
:let blobA += 0z3344
:call extend(blobA, 0z5566)
<
When two variables refer to the same Blob, changing one Blob in-place will
cause the referenced Blob to be changed in-place: >
Expand Down Expand Up @@ -5442,4 +5446,19 @@ Below is a sample script that makes use of the clipboard provider feature: >vim
\ }
set clipmethod^=test
<
*clipboard-providers-wsl*
For Windows WSL, try this script: >vim9
vim9script

var Copy = (_, _, lines: list<string>) => system('wl-copy', lines)
var Paste = (_) => ('', systemlist('wl-paste --no-newline')
->map((_, v) => v->trim("\r", 2)))

v:clipproviders["wslclip"] = {
available: () => executable('wl-copy') && executable('wl-paste'),
copy: { "*": Copy, "+": Copy },
paste: { "*": Paste, "+": Paste }
}
set clipmethod^=wslclip

vim:tw=78:ts=8:noet:ft=help:norl: