Evil, emulate Vim gdefault option
24 Feb
2013
24 Feb
'13
10:37 p.m.
Hello, 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
25 Feb
25 Feb
8 a.m.
I've just added the option `evil-ex-substitute-global` which should do what you want. No idea why we never implemented it, it's something I always missed. Best regards, Frank
4982
Age (days ago)
4983
Last active (days ago)
1 comments
2 participants
participants (2)
-
Frank Fischer -
Giovanni Maggiorani