[email protected] wrote:
> In my file I have (for example) the following words
>
>     Uppercase
>     uppercase
>     UPPERCASE
>
> Doing a
>     :s/uppercase/frankenstein/g
>
> produces
>     frankenstein
>     frankenstein
>     frankenstein

There is nothing built into Vim to keep case.
Try the plugin mentioned at "Special cases" in:
http://vim.wikia.com/wiki/Search_and_replace

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to