Vim: faster way to select blocks of text in visual mode

前端 未结 16 1972
面向向阳花
面向向阳花 2021-01-29 17:12

I have been using vim for quite some time and am aware that selecting blocks of text in visual mode is as simple as SHIFT+V and moving the arrow key up or

16条回答
  •  梦毁少年i
    2021-01-29 17:54

    v35G will select everything from the cursor up to line 35.

    v puts you in select mode, 35 specifies the line number that you want to G go to.

    You could also use v} which will select everything up to the beginning of the next paragraph.

提交回复
热议问题