Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
whatevertrevor
· 1y ago · 0 comments
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.
Comments
No comments yet.
Better HN