DEV Community

Discussion on: Editing Like Magic With Vim Operators

Collapse
 
bl4ckb1rd profile image
Diego Amor

Hi thanks for the post, i tried to do this :4,$ s/sub1/sub2/g but the vscode raise error, its possible to do with another addons? Thanks.

Collapse
 
vintharas profile image
Jaime González García • 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