Vim Key Bindings Behaving Strangely

When using Vim bindings in normal mode (with live preview turned on), if I hit enter to go to a new line then press i to insert and press enter again, the letter i is actually inserted on the line above the current line.

Is this one that’s more likely to originate from CodeMirror? I can raise it there if so