To perform a buffer-wide substitution on all occurrences of
foo (and not just the 1st one in a line), we can do
g flag may be omitted by setting this in the
If the pattern
foo is not found,
vim raises an error
E486: Pattern not found: foo
This error can be avoided by specifying the
e flag to the substitution operator i.e.
My question is, can an equivalent option (say
edefault) that can be put together in a
vimrc to achieve this effect?