Replace Flashcards
1
Q
replace pattern with string according to flags
A
:s/pattern/string/flags
2
Q
flag: replace all occurrences of pattern
A
g
3
Q
flag: confirm replaces
A
c
4
Q
repeat last :s command
A
&