On 2010-02-15, Ben Schmidt wrote:
> >>I can open vim with multiple files: vim f1.txt f2.txt. This doesn't
> >>seem possible with the vim :edit command. How can I do it from
> >>within vim?
>
> >Use args or new.
> >For example, to edit all the .txt in the current dir do:
> >:n *.txt
>
> That would be :next, not :new.
>
> Good answer, though. Slightly more fully, using one of the above will
> set the argument list, and you step through the files with :n, etc. just
> as you would if you'd given them on the commandline. You also no longer
> have the list of files you did provide on the commandline available. If
> you don't like that, you can make a local argument list; see :arglocal
> and friends.
Or add the new files to the existing argument list. See
:help argadd
Regards,
Gary
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php