Skip to content

Commit f399456

Browse files
authored
Merge pull request #2130 from h-east/update-visual
Update visual.{txt,jax}
2 parents 4ddb683 + 6c5c128 commit f399456

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/visual.jax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*visual.txt* For Vim バージョン 9.1. Last change: 2023 Sep 19
1+
*visual.txt* For Vim バージョン 9.1. Last change: 2025 Jun 28
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -375,7 +375,7 @@ Note: "I" と "A" は変更によって行が拡張されるときに違う動
375375
は ":" は部分的に動作するようになるだろう。
376376

377377
ここに1つ、選択されたテキストを "date" の出力に置き換える例がある: >
378-
:vmap _a <Esc>`>a<CR><Esc>`<i<CR><Esc>!!date<CR>kJJ
378+
:vmap _a <Esc>`>a<CR><Esc>`<i<CR><Esc>!!date<CR>kgJgJ
379379
380380
(<>表記 |<>| の中身は、これを入力する時には文字通り入力すれば良い; ただし
381381
'cpoptions' から 'B' と '<' のフラグを外しておく必要がある)

en/visual.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*visual.txt* For Vim version 9.1. Last change: 2023 Sep 19
1+
*visual.txt* For Vim version 9.1. Last change: 2025 Jun 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -392,7 +392,7 @@ want only part of the line to be replaced you will have to make a mapping for
392392
it. In a future release ":" may work on partial lines.
393393

394394
Here is an example, to replace the selected text with the output of "date": >
395-
:vmap _a <Esc>`>a<CR><Esc>`<i<CR><Esc>!!date<CR>kJJ
395+
:vmap _a <Esc>`>a<CR><Esc>`<i<CR><Esc>!!date<CR>kgJgJ
396396
397397
(In the <> notation |<>|, when typing it you should type it literally; you
398398
need to remove the 'B' and '<' flags from 'cpoptions')

0 commit comments

Comments
 (0)