Tuesday, April 9, 2013

Re: Can I control the order of files, then concat into a file

On Tuesday, April 9, 2013 6:46:50 PM UTC-5, russur wrote:
>
> For this particular document(s) i might have to create, is there a way to choose the order of the files in the given directory, and have them load, in that order, into a single file.
>
>
>
> The order is probably going to be specific to what my users want, and not sorted by any manner.
>
>
>
> Can anyone suggest the best way to do this in Vim?
>

Your solution for all the files in a directory used the arglist. I presume you opened them all with a wildcard.

If you want to specify an order, don't use a wildcard, just list them out in the order you want. You could even add more after creating the arglist with the :argadd command.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: