Find And Replace On Multiple Lines In Neovim
May 2024
-
:is the start of the prompt -
.is the current line -
,is the separator between lines -
+4gets the next four lines (for five total) -
s/foo/bar/is the seach/replace pattern -
gsets to global so all lines are processed
end of line