Vim select the ends of multiple lines (block mode, but where the ending column varies)

后端 未结 4 1393
梦如初夏
梦如初夏 2020-12-23 16:45

Is there any way in vim that I can select the end of all these lines? (I\'m only showing the end of the lines in these screenshots).

In block mode I can get them all

4条回答
  •  渐次进展
    2020-12-23 17:13

    Alternately, you can set the virtualedit (:h 'virtualedit') setting so that, any time you're in visual block mode, you can move the cursor around even past the ends of lines. E.g. :set virtualedit=block.

提交回复
热议问题