vim search and replace limited to the highlight in visual block mode

后端 未结 3 731
迷失自我
迷失自我 2021-02-01 16:31

I often have text in columns and need to replace some things without clobbering similar stuff on the same line... a simple example follows:

3条回答
  •  别跟我提以往
    2021-02-01 17:12

    The solution is obviously the \%V regex atom, but note, that this it still a little bit buggy.

    Update: It's no bug. This thread explains the behaviour.

提交回复
热议问题