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'm running vim 7.2.325 in Cygwin on Windows XP Pro.
Cheers!
Chris
--
Chris Sutcliffe
http://emergedesktop.org
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment