Vim - Search and replace the results

后端 未结 4 713
刺人心
刺人心 2021-02-13 05:13

I\'m getting more and more comfortable with Vim after a few months. BUT, there is only one simple feature I can\'t get any answer from the web. That is \"Search and replace the

4条回答
  •  野的像风
    2021-02-13 06:12

    Searching and using the dot command (you didn't meantion you are using the dot command, that's why I highlight it) to repeat the last input action is my best bet here.

    I use s///g for search and replace.

提交回复
热议问题