Evil, emulate Vim gdefault option

Giovanni Maggiorani gmaggior at yahoo.com
Sun Feb 24 23:37:08 CET 2013

Vim has an option   
    set  gdefault
to include the g option as default in the substitute :s command, i.e.  to write:
   1)   :%s/pattern/replace
but meaning instead
   2)   :%s/pattern/replace/g
Also IIRC  gdefault reverses the effect of g, ie. adding it results in command 1). 

Is there a way to set the same option in Evil?

Thank you and great work with Evil,
Giovanni Maggiorani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20130224/2f6e2ee4/attachment.htm 

More information about the implementations-list mailing list