Linux.com: Vim Tips: The Basics of Search and Replace
Jun 29, 2006, 11:30 (0 Talkback[s])
(Other stories by Joe Brockmeier)
"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 for
?searchstring will search backwards
through the file..."