[Bug] [Vim Mode] Moving around in Vim Mode doesn't behave like Vim

The behaviour when moving the cursor in Vim Mode doesn’t correspond to what happens in “real” Vim. Say I have code like

aaaaa|aaaaa
a
aaaaaaaaaa

where | is the cursor. If I move down twice, I’d end up like this in Vim:

aaaaaaaaaa
a
aaaaa|aaaaa

but what happens in the CodinGame editor is

aaaaaaaaaa
a
a|aaaaaaaaa

i.e., the position in the longer line is not “remembered” as in Vim.

3 Likes

That’s surprising, I don’t have the issue you are describing on the CodinGame editor. I’ve tried with Firefox and Chrome.

Are there any other people having the same problem?

I have the same issue with Firefox, but only in normal mode and with non blank lines.

This

aaaa

aaaa

behaves correctly both in insert and normal mode;

while this

aaaa
a
aaaa

behaves correctly in insert mode, but doesn’t remember the position in normal mode (moving with j,k or with the arrow keys doesn’t make any difference).

The new IDE seems to have solved this problem, thanks!

1 Like