Roy Fulbright <[email protected]> [09-11-21 15:32]: > > > > > Date: Sat, 21 Nov 2009 07:21:44 +0100 > > From: [email protected] > > To: [email protected] > > Subject: smartcase s'n'r even smarter? > > > > > > > > Hi, > > > > in my .vimrc I set smartcase on. > > > > In my file I have (for example) the following words > > > > Uppercase > > uppercase > > UPPERCASE > > > > Doing a > > > > :s/uppercase/frankenstein/g > > > > produces > > > > frankenstein > > frankenstein > > frankenstein > > > > > Sounds like you have 'ignorecase' set. Try :set noic. > > >
unsetting ignorecase makes from Uppercase uppercase UPPERCASE :s/uppercase/frankenstein/g produces Uppercase frankenstein UPPERCASE what is neither wanted nor described (see my initial mail). -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
