I know I can move to the last line of the file using G but that will move cursor to the first column.

When in visual block mode I would like to extend the selection to the last line without moving the cursor

  • I really think this is actually no duplicate as my question is about moving the cursor while the suggested answer is not. – JohnDoe Apr 12 '18 at 15:19

This will keep your cursor column position unchanged:

:set nostartofline

Not the answer you're looking for? Browse other questions tagged or ask your own question.