Christian Brabandt wrote: > :argedit states > ,---- > | This is like using |:argadd| and then |:edit|. > `---- > However, this is only true, when exactly one argument has been provided. > > So here is a patch, that allows to use :argedit with several files. This > means you can use something like :argedit *.vim, add all vim files to > the argument list and edit the first newly added file. This is slightly > backwards incompatible, since spaces have to be escaped (but although > the documentation implies otherwise, this is at least on unix like > systems currently also the case and there is even a test for that). > Additionally similar to the other :arg commands, it will add the same > file several times to the argument list. > > Attached patch includes a changed test and fixes to the documentation.
Thanks. I'm not sure if adding duplicates is a good idea. But at least it's consistent with :argadd, and that's now the closests command in functionality. Changing :argadd as well would not be backwards compatible. -- hundred-and-one symptoms of being an internet addict: 164. You got out to buy software, instead of going out for a beer. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
