Skip to content

Commit 2dc55f2

Browse files
committed
Update editing.{txt,jax}
1 parent e1b70e9 commit 2dc55f2

File tree

2 files changed

+23
-19
lines changed

2 files changed

+23
-19
lines changed

doc/editing.jax

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim バージョン 9.1. Last change: 2024 Jan 14
1+
*editing.txt* For Vim バージョン 9.1. Last change: 2024 Apr 12
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -648,10 +648,11 @@ Vim の開始時に複数のファイル名を与えると、それらは引数
648648

649649
:[count]arge[dit][!] [++opt] [+cmd] {name} .. *:arge* *:argedit*
650650
引数リストに {name} を追加し、その編集を始める。
651-
{name} が既に引数リスト内にあるときは、その編集を始め
652-
る。
653-
これはコマンド |:argadd| を使い、次に |:edit| を使うの
654-
と同じである。
651+
重複のチェックは行われないため、ファイルを引数リストに
652+
2 回追加することが可能である |:argded|
653+
これはコマンド |:argadd| 使用後に |:edit| を使うのと同
654+
じである。(小さな例外として、|:edit| は引数リストを変
655+
更しないため、引数リストのポインタは変更されない)。
655656
ファイル名中のスペースは "\" でエスケープされなければ
656657
ならない。
657658
[count]|:argadd| と同様に使われる。
@@ -669,12 +670,12 @@ Vim の開始時に複数のファイル名を与えると、それらは引数
669670
挿入される。引数リストが "a b c" で "b" が現在の引数の
670671
場合のコマンドの結果一覧:
671672
コマンド 新たな引数リスト ~
672-
:argadd x a b x c
673-
:0argadd x x a b c
674-
:1argadd x a x b c
675-
:$argadd x a b c x
673+
:argadd x a [b] x c
674+
:0argadd x x a [b] c
675+
:1argadd x a x [b] c
676+
:$argadd x a [b] c x
676677
最後の1つの後に:
677-
:+2argadd y a b c x y
678+
:+2argadd y a [b] c x y
678679
重複検査はないので、1個のファイルを引数リストに2回加え
679680
ることもできる。|:argdedupe| を使うことで後から修正で
680681
きる。: >

en/editing.txt

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 9.1. Last change: 2024 Jan 14
1+
*editing.txt* For Vim version 9.1. Last change: 2024 Apr 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -658,9 +658,12 @@ list of the current window.
658658

659659
:[count]arge[dit][!] [++opt] [+cmd] {name} .. *:arge* *:argedit*
660660
Add {name}s to the argument list and edit it.
661-
When {name} already exists in the argument list, this
662-
entry is edited.
663-
This is like using |:argadd| and then |:edit|.
661+
There is no check for duplicates, it is possible to
662+
add a file to the argument list twice |:argded|.
663+
This is like using |:argadd| and then |:edit| (with
664+
the small exception that |:edit| does not change the
665+
argument list, so the argument list pointer isn't
666+
changed).
664667
Spaces in filenames have to be escaped with "\".
665668
[count] is used like with |:argadd|.
666669
If the current file cannot be |abandon|ed {name}s will
@@ -679,12 +682,12 @@ list of the current window.
679682
If the argument list is "a b c", and "b" is the
680683
current argument, then these commands result in:
681684
command new argument list ~
682-
:argadd x a b x c
683-
:0argadd x x a b c
684-
:1argadd x a x b c
685-
:$argadd x a b c x
685+
:argadd x a [b] x c
686+
:0argadd x x a [b] c
687+
:1argadd x a x [b] c
688+
:$argadd x a [b] c x
686689
And after the last one:
687-
:+2argadd y a b c x y
690+
:+2argadd y a [b] c x y
688691
There is no check for duplicates, it is possible to
689692
add a file to the argument list twice. You can use
690693
|:argdedupe| to fix it afterwards: >

0 commit comments

Comments
 (0)