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. A reminder: please bottom post on this list: http://groups.google.com/group/vim_use/web/vim-information Ben. -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
