This question already has an answer here:

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

marked as duplicate by akshay, statox Apr 10 '18 at 7:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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.