Mark Larwill wrote: > I often need to make a large list of XML quickly and was > wondering if there is a fast way to do this with VIM. For > example suppose I have the XML: > > <user>user1</user> > <user>user2</user> > <user>user3</user>
Use the following, adapted from tip: http://vim.wikia.com/wiki/Increasing_or_decreasing_numbers :for i in range(1,100) | put ='<user>user'.i.'</user>' | endfor John -- 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
