Selection of lines of various lengths in the visual block mode

I want to select a code block consisting of lines of different lengths in the visual block mode. However, since the cursor can only go to the end of each line, it is not possible to immediately select the entire code block shown below. Is there any clue for this?

difficult to select

+4
source share
1 answer

Use $to tell the visual block to select to the end of the line.

+8
source

All Articles