On Friday 01 January 2010 06:35:22 pm Chris Sutcliffe wrote: > I was in the process of updating the copyright date for a > whole bunch > > of my source files that I had open in buffers in vim. I tried: > :bufdo %s/2009/2010/ge > > All it did was update the first buffer. I executed: > :tab sball > > to get all the buffers into tabs and executed: > :tabdo %s/2009/2010/ge > > and it worked just fine. Did I do something wrong with bufdo, > or is it broken?
i think you need a write after the substitute so vim can abandon each buffer and go on to the next sc -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
