How to run a search and replace command without cursor moving in Vim?

后端 未结 0 786
孤独总比滥情好
孤独总比滥情好 2021-02-12 07:43

In Vim, when I do:

:%s/foo/bar/g

It will replace all occurrence of \'foo\' with \'bar\' in the entire document. When it completes, the cursor h

相关标签:
回答
  • 消灭零回复
提交回复
热议问题