Find and Replace in Neovim
Current Line - First Occurrence
Where foo
is what you want to replace and bar
is what you want to replace it with.
If what you need to search for uses /
then |
can be used a seperated instead.
:s/foo/bar/
Current Line - All Occurrences
:s/foo/bar/g
Entire File
:s%/food/bar
Remove Occurrences
:s%/foo//