leanprover-community / lean4web

The Lean 4 web editor
https://live.lean-lang.org/
Apache License 2.0
69 stars 19 forks source link

Feature Request: Vim Motions #25

Open bernborgess opened 6 months ago

bernborgess commented 6 months ago

How feasible is it to add the vim motions feature? Some web editors support it like replit has these keybinds option: image

It would widely improve the usability of the web editor, and VS Code has plugins for it VSCodeVim VSCode Neovim

joneugster commented 6 months ago

Would that be adding https://github.com/brijeshb42/monaco-vim ?

The underlying editor is a "monaco editor", so one cannot simply "install" vscode extensions.

joneugster commented 3 months ago

Looking at this again, I think monaco-vim states it is not compatible with vite (which we use instead of webpack).

Realistically, I don't think I will look at this, but if a volunteer wants to, I'm happy to provide guidance and accept a PR!