Brijesh Bittu
Brijesh Bittu
Will be possible for top level exports but I don't think it will be possible for the actual vim wrapper itself.
It'd be better to have in this repo itself to avoid installing extra package.
Seems like you are using AMD / requirejs type loader. Did you follow the amd instructions in the readme. Or could you paste the code snippet of how you are...
This is something that you can control using webpack resolver or babel where monaco-editor can be aliased to the api file.
You'll also need to update the webpack config so that the umd build works as well.
AMD version should be what it is currently. It doesn't have api file.
As a pointer, this is the culprint line - https://github.com/brijeshb42/monaco-vim/blob/master/src/statusbar.js#L94
> I think Monaco utilizes commands to handle keybindings. Not sure if it's being used here, but that might be beneficial for chaining events like this. My initial implementation tried...
This is out of scope with the way current functionality is implemented.
Tried this on the playground and it worked fine for me. Editor does not hang. Could you provide a reproducible url on maybe codesandbox.