>> I'm regularly doing :split filename1 followed by :split filename2 >> followed by :split filename3 and was trying to do :split filename* but >> this didn't work. The goal would be to split the window in as many >> pieces as the number of files that match filename* and have each of >> the matching files in it's own split window. >> >> Basically I'm trying to automate :split filename1 :split filename2 >> :split filename3 etc etc. >> >> Is there a way to do this? > > You can do > > :args filename* > > to set the argument list to that set of files, then > > :all > > to open each file in the argument list in a new window.
Wow, this is great, thanks! If I would have known this in the last 10 years..... :) Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
