> command will refuse to |abandon| the modified buffer (see ":help abandon").
> You should have done:
>
> :bufdo %s/2009/2010/ge |update
I tried ':bufdo! %s/2009/2010/ge' and it behaved as expected (hiding
the buffers that were modified).
> -- and BTW, beware that the above will also change 120090 to 120100.
Good point. How do I search for white space before and after the 2009
and replace it with 2010 saving the white space?
Thank you all for your replies.
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