Wednesday, February 23, 2011

Re: text substitution for all the files opened in vim

On Wed, Feb 23, 2011 at 9:50 PM, Peng Yu <pengyu.ut@gmail.com> wrote:
:%s only perform substitution with a file. Is there a command that can
perform substitution in all the files that are opened by a vim session?


You can try :bufdo  %s ...

Refer help bufdo for more information.

--
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

No comments:

Post a Comment