We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free. Anti-spam check. Do not fill this in!==See also: using substitute== *[[VimTip63|63 Applying substitutes to a visual block]] *[[VimTip81|81 Substitute characters and lines easily]] *[[VimTip159|159 Keystroke Saving Substituting and Searching]] *[[VimTip406|406 Alternate delimiters for the replace command]] *[[VimTip438|438 Search and replace in a visual selection]] *[[VimTip464|464 Search and replace the word under the cursor]] *[[VimTip479|479 Replace with no typing]] *[[VimTip573|573 Repeating a substitute from current cursor position]] *[[VimTip605|605 Replace a word with the yanked text]] *[[VimTip654|654 Special characters in the substitute command]] *[[VimTip755|755 Using an expression in substitute command]] *[[VimTip808|808 Replace a visual-block of text with another such block]] *[[VimTip915|915 Using g instead of substitute]] *[[VimTip971|971 Substitute with incrementing numbers]] *[[VimTip1114|1114 Step increment and replace]] *[[VimTip1501|1501 Substitute last search]] Summary: Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA Cancel Editing help (opens in new window) Retrieved from "https://vim.fandom.com/wiki/Search_and_replace"