Vim

Visual mode

Select to line number

Move to the line, shift + v to select the line.

Find the line number you want to select to, for example 35. 35G will select to that line.