junegunn / limelight.vim

:flashlight: All the world's indeed a stage and we are merely players

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cursor does not maintain horizontal position when moving vertically

segeljakt opened this issue · comments

For example, | is cursor:

int main(int argc, char *argv[]) {
    printf("lime");|
}

Press j.

int main(int argc, char *argv[]) {
    printf("lime");
|

Press k.

int main(int argc, char *argv[]) {
|   printf("lime");
}

The expected result is:

int main(int argc, char *argv[]) {
    printf("lime");|
}

Press j.

int main(int argc, char *argv[]) {
    printf("lime");
|

Press k.

int main(int argc, char *argv[]) {
    printf("lime");|
}

Any updates on this?

I really really like this plugin, but this bug makes it somewhat unusable for editing code.

Please test if #59 fixes the issue for you.

Sorry for the terribly late reply, but it does fix it, thanks a lot ❤️