Problem: `constrain_cursor` only fired on `CursorMoved` and `ModeChanged`, so arrow key navigation in insert mode could move the cursor into the concealed ID prefix area. Solution: add `CursorMovedI` to the autocmd event list. The `constrain_cursor()` function is already mode-agnostic. |
||
|---|---|---|
| .. | ||
| canola | ||
| resession/extensions | ||