Vim Tips Wiki
Edit Page
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.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 242: Line 242:
   
 
Want a short section mentioning that simple substitutes are often best handled by searching then manually changing (and pressing <code>.</code> to repeat the last change). Additionally, you can decide how to change each instance. See [[Copy or change search hit]] for a technique where you can press <code>n</code> to find the next instance, then type <code>cs</code> to change the search hit to whatever.
 
Want a short section mentioning that simple substitutes are often best handled by searching then manually changing (and pressing <code>.</code> to repeat the last change). Additionally, you can decide how to change each instance. See [[Copy or change search hit]] for a technique where you can press <code>n</code> to find the next instance, then type <code>cs</code> to change the search hit to whatever.
  +
----
 
 
Has there been a change recently with how %s works? Somehow i can use both <c-r> and \=@ as replacers, but I can't use them as searches and replacements.
 
Has there been a change recently with how %s works? Somehow i can use both <c-r> and \=@ as replacers, but I can't use them as searches and replacements.
:If you describe exactly what you do and what happens I might be able to help although see [[Vim Tips Wiki:Community Portal#Asking questions|asking questions]]. [[User:JohnBeckett|JohnBeckett]] ([[User talk:JohnBeckett|talk]]) 02:15, June 1, 2019 (UTC)
 
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)