Closed dkwo closed 1 year ago
Is there a way to do it? In vim, I'd use :%s/old/new/gc. Thanks.
vim
:%s/old/new/gc
You could use :x/old/ to select those, use ctrl-d and ctrl-p to cycle and deselect. After, you can use :c/new/ or just cnew<esc>.
:x/old/
:c/new/
cnew<esc>
Excellent, thank you!
Is there a way to do it? In
vim
, I'd use:%s/old/new/gc
. Thanks.