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]>
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"name": "usaco-site-web",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/autocomplete": "^6.20.3",
|
|
"@codemirror/commands": "^6.11.1",
|
|
"@codemirror/lang-cpp": "^6.0.3",
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/language": "^6.12.4",
|
|
"@codemirror/lint": "^6.9.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",
|
|
"highlight.js": "^11.11.1",
|
|
"katex": "^0.16.25",
|
|
"markdown-it": "^14.1.0",
|
|
"vue": "^3.5.22",
|
|
"vue-router": "^4.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"tailwindcss": "^4.1.18",
|
|
"vite": "^7.3.2"
|
|
}
|
|
}
|