Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Oranj
on Jan 8, 2010
|
parent
|
context
|
favorite
| on:
Best of Vim Tips
What does this do?
'a,'bg/fred/s/dick/joe/igc : VERY USEFUL
blackman
on Jan 8, 2010
[–]
between (book)mark a and b find fred then search the line and replace any occurrence of dick with joe with a confirmation. there a couple of modifiers on there I don't know but I think that's pretty much it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
'a,'bg/fred/s/dick/joe/igc : VERY USEFUL