Description
When the cursor is on an empty last line, pressing j or <C-d> in normal
mode scrolls the note to the top unexpectedly.
I am not sure whether this is an issue in inkdrop-vim, CodeMirror, or the
CodeMirror Vim integration layer.
Steps to Reproduce
- Open a note with multiple lines.
- Make sure the last line is empty.
- Move the cursor to the empty last line in normal mode.
- Press
j or <C-d>.
Expected Behavior
The cursor should stay on the empty last line, and the note should not scroll
to the top.
Actual Behavior
The note scrolls to the top unexpectedly.
Environment
- Inkdrop version: v6.0.0-canary.15
- inkdrop-vim version: 3.1.2
- OS: Sequoia 15.6.1
Description
When the cursor is on an empty last line, pressing
jor<C-d>in normalmode scrolls the note to the top unexpectedly.
I am not sure whether this is an issue in
inkdrop-vim, CodeMirror, or theCodeMirror Vim integration layer.
Steps to Reproduce
jor<C-d>.Expected Behavior
The cursor should stay on the empty last line, and the note should not scroll
to the top.
Actual Behavior
The note scrolls to the top unexpectedly.
Environment