Add vim keys to the solve page's editor
A Vim checkbox in the toolbar turns on @replit/codemirror-vim, off by default and remembered in this browser like the split. A status line under the editor shows the mode and the command being typed, and :w saves as Save does. Run, Submit and Save keep their Ctrl keys in every mode, since the page's keymap is at the highest precedence. The vim extension sits in a Compartment, so turning it on or off keeps the text and its history; the states kept for the other languages are brought up to date when they are swapped back in. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"@codemirror/state": "^6.7.6",
|
||||
"@codemirror/view": "^6.43.13",
|
||||
"@lezer/highlight": "^1.2.5",
|
||||
"@replit/codemirror-vim": "^6.4.0",
|
||||
"@vscode/markdown-it-katex": "^1.1.2",
|
||||
"codemirror": "^6.0.2",
|
||||
"dompurify": "^3.4.17",
|
||||
|
||||
Reference in New Issue
Block a user