DEV Community

Discussion on: Editing Like Magic With Vim Operators

Collapse
vintharas profile image
Jaime 🔥🧙‍♂️🔥 Author • Edited

Hi! There shouldn't be a space between the range and the s command. Try:

:4,$s/sub1/sub2/g

and let me know how it goes! :D

This should work as is without an addon.

P.S. You can enable more features by integrating VSCode and Neovim like described in this guide (but this is a beta feature FYI XD)

Collapse
bl4ckb1rd profile image
Diego Amor

Thanks, it was the only combination that i not trying XD