“Vim beginners may be puzzled when it comes to doing search and
replace operations in Vim. The syntax can be a bit arcane, but
after you’ve practiced, it becomes second nature. Let’s take a look
at how easy it can be.“Let’s start by looking at searches and doing search and replace
operations within Vim. You can do a search in normal mode by using
/searchstring
. This will search forward
through the file forsearchstring
. Likewise,
running?searchstring
will search backwards
through the file…”