On Fri, Nov 20, 2009 at 07:04, viZpal <[email protected]> wrote: > > :s/%/ /g - replaces only the first '%' with an empty space. I was > expecting all '%' to get replaced ! > :s/%/ / - replaces all '%' with spaces.. > > I saw this behavior only for the character '%' . > Can this be explained ?? >
you must have set 'gdefault'. Maybe a script has set it, use « :verb set gdefault? » to know. > > > -- Benoit Mortgat 39, cours Albert Thomas 69003 Lyon, France +33 4 27 78 31 27 / +33 6 17 15 41 58 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
