Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Izkata
9 months ago
|
parent
|
context
|
favorite
| on:
Things that have a bigger impact than coding assis...
> In vim, I'd `*` to automatically search for `someVar`, then `cwsomeOtherVar`, (change-word), then `n.n.n.` (next, repeat, etc.)
There's also:
:%s/someVar/someOtherVar/gc
The "c" at the end is for "confirm", vim asks whether to change each one and it's a single "y" or "n" before going to the next.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
There's also:
The "c" at the end is for "confirm", vim asks whether to change each one and it's a single "y" or "n" before going to the next.