As the title says, how can I move to the last line while maintaining the cursor position in vim?
I want to use it in the following situations.
For example, in a TSV file, move to 2 on October 22, 2015, then press CTRL-V to select a short visual and G to move to the last line. So, after moving to the position of 2, change one character with the r key.
For example, if you enter gG, it is convenient if the cursor position is maintained and you do not need to move.
The above is just an example, so why not replace it? I think there are answers such as, but
I just want to know how to move to the last line while maintaining the position to cover.
I think it's a confusing explanation, but
Nice to meet you.
Please write. See
:help 'startofline' for more information.