0

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
0

This will keep your cursor column position unchanged:

:set nostartofline
| improve this answer | |

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