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