You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I learned how to use vim not too long ago and probably like many vim users, anything other than vim is tedious. As i understand neovim is made to be embeddable so maybe it is possible to use neovim to handle the editing.
An example of using neovim in an electron app is the neovim extension of vscode (currently I am just using the vim extension). An example of vim in the browser is https://github.com/ajaxorg/ace
PS: I am not sure yet whether I can start looking at the code as you were refactoring the code
The text was updated successfully, but these errors were encountered:
userrand
changed the title
Feature request :
Feature request : Vim/Neovim support
Aug 8, 2023
userrand
changed the title
Feature request : Vim/Neovim support
Feature request : Option to use Vim/Neovim
Aug 8, 2023
Since editor is modular, its extensions are exposed in window.EditorExtensions array.
In principle, it should work, when you just create a single file in the plugins folder
But then in my case it throws an error ;)
kernel.js:2017 Uncaught (in promise) Error: Unrecognized extension value in extension set ([object Object]). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.
at inner (kernel.js:2017:23)
at inner (kernel.js:1992:17)
at inner (kernel.js:1992:17)
at flatten (kernel.js:2021:5)
at Configuration.resolve (kernel.js:1929:25)
at EditorState.create (kernel.js:2756:43)
at new EditorView (kernel.js:10643:68)
at new CodeMirrorCell (kernel.js:71492:22)
at new CellWrapper (kernel.js:6948:22)
at core.FrontEndCreateCell (kernel.js:7103:5)
That usually happens, when an extension (vimmode) uses slightly different version of the modules from which the main editor was built. This is very annoying, actually.
I will try to update all components to the latest versions and poke this VIM mode extension plugin a few more times.
I learned how to use vim not too long ago and probably like many vim users, anything other than vim is tedious. As i understand neovim is made to be embeddable so maybe it is possible to use neovim to handle the editing.
An example of using neovim in an electron app is the neovim extension of vscode (currently I am just using the vim extension). An example of vim in the browser is https://github.com/ajaxorg/ace
PS: I am not sure yet whether I can start looking at the code as you were refactoring the code
The text was updated successfully, but these errors were encountered: