Can you substitute or delete between commas (or any arbitrary character) in vi/vim?

后端 未结 4 880
日久生厌
日久生厌 2021-02-04 16:21

For example, I have text like this:

I talked to a friend, I hiked a mountain, I am working with blah blah, 

And I want to delete or substitute

4条回答
  •  滥情空心
    2021-02-04 16:55

    If you are in a section like that you could use T,ct,.

    Or you if you want to install a plugin like vim-argumentative allows you to use ci, and di,

提交回复
热议问题