On Mon, Sep 14, 2009 at 6:27 PM, Tim Chase wrote:
>
>> :msplit filename*
>>
>> then this should be equivalent to
>>
>> :args filename*
>> :all
>
> The problem I have with :all is that it opens *all* the
> arguments.  I frequently find myself in the position where I've
> started vim with something like
>
>   vim *.py
>
> and have all my project's python files open.  I then want to
> split open a bunch of files in some other directory:
>
>   :argadd path/to/wherever/*.sql
>   :all
>
> The :all ends up giving me all the .sql *and all the .py files*
> when all I really want is all the .sql files.

That's why everyone else in the thread has been suggesting using :args
instead of :argadd  ;-)

Of course, :args is worse if you're the sort of person who actually
uses the argument list, but the only people I know who actually use
the arg list are old vi hands who still need to use "real" vi
sometimes.  For many of us who learned vim instead, the arg list is
only ever used for one-off "hacks" like this.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to