Abolish.vim adds this functionality:
    http://www.vim.org/scripts/script.php?script_id=1545

With this installed, you can run:

    :S/foo/bar/g

Note: that's an uppercase 'S' (for Subvert), not a lowercase 's' (for
substitute).

Drew


On Sun, Sep 18, 2011 at 4:02 PM, Jose Caballero <[email protected]>wrote:

> Hi,
>
>
> I would like to know if it is possible to replace 'foo' by 'bar', 'FOO' by
> 'BAR' and 'Foo' by 'Bar' (or at least the first two), with a single command.
>
> Any link or the right :help command would be enough.
>
>
> Thanks a lot in advance,
> Jose
>
> --
> 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
>

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

Reply via email to