Which vim setting allows you to move vertically between lines and still save/maintain the current cursor’s horizontal character position?
E.g.
int variable1[*4]; // Cursor starts on "4"
char c[3]*; // Use "j" twice
int variable2[*6]; // Should end up on "6"
The function is referenced in this question: Cursor not returning to horizontal position in vim but not what I’m seeking (what is this setting “set” option).
Background: Both in my MINGW64 VIM > 9.0, and in my Unix VIM > 8.1 in normal mode it works fine. This has always worked fine and I have a large .vimrc
. But in VSCodeVim > v1.26 where my VS VIM sharing the same .vimrc
and .vim
files, it does not work, so I’m trying to figure out step 1 which is what “set” setting controls this functionality to determine if it’s truly a setting or something I need to setup in a custom fashion on VSCode?