Timeline for How do you substitute on previous matches?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 28, 2015 at 13:26 | vote | accept | squarefrog | ||
May 28, 2015 at 13:26 | vote | accept | squarefrog | ||
May 28, 2015 at 13:26 | |||||
May 28, 2015 at 13:26 | comment | added | squarefrog |
Great answer! I agree with @Carpetsmoker that gdefault is useful. Until you forget it's on and do /g :)
|
|
May 28, 2015 at 11:22 | comment | added | Martin Tournoij |
Related tip: I like to use set gdefault in my vimrc. This will add the /g flag by default, since this is what I want 95% of the time (you can "undo" the /g flag by adding it).
|
|
May 28, 2015 at 11:20 | history | answered | PhilippFrank | CC BY-SA 3.0 |