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 down line-by-line until I reach the end of the block of text that I want selected.

My question is – is there a faster way in visual mode to select a block of text for example by SHIFT+V followed by specifying the line number in which I want the selection to stop? (via :35 for example, where 35 is the line number I want to select up to – this obviously does not work so my question is to find how if something similar to this can be done…)

17 Answers
17

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *