Vim NORMAL `k`: body row → … → header → past the header leaves upward.
(row: number, col: number)
| 974 | |
| 975 | /** Vim NORMAL `k`: body row → … → header → past the header leaves upward. */ |
| 976 | private moveRowUp(row: number, col: number): void { |
| 977 | if (row === -1) { |
| 978 | this.exitToEditor('before') |
| 979 | return |
| 980 | } |
| 981 | this.focusCellAtOffset(row === 0 ? -1 : row - 1, col, this.cursorOffset) |
| 982 | } |
| 983 | |
| 984 | /** Switch the focused cell into INSERT mode at a source offset: editable, |
| 985 | * native caret, block cursor removed. Don't re-focus — that re-fires the |
no test coverage detected