Open
Description
Minimal repro:
import {EditorView, basicSetup} from "codemirror"
import {vim} from "@replit/codemirror-vim"
let editor : EditorView = new EditorView({
extensions: [vim(), basicSetup, solarizedDark],
parent: document.body
})
In the resulting editor, typing qaihello<ESC>@a
instantly hangs the page, without any obvious way to recover that I could find.
The behaviour in (neo)vim is somewhat better - qaihello<ESC>@a
creates an infinite loop of writing hello
- but I feel like even that behaviour would be problematic in a web environment, as the user doesn't have a way to interact with the page once this happens.
Metadata
Metadata
Assignees
Labels
No labels