Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wuhhh
69 days ago
|
parent
|
context
|
favorite
| on:
From VS Code to Helix
Right back at you, that’s super neat!
whatevertrevor
69 days ago
[–]
Let me add my third way of doing this in vim:
:%s/<CTRL-R><CTRL-W>/replacement/(gcn)
As you can guess <CTRL-W> invokes a special register that contains the "word" currently under the cursor.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: