invertase / zapp.run

Zapp! A free online sandbox environment for building Flutter applications in the browser.
https://zapp.run
314 stars 34 forks source link

Vim mode #90

Open satvikpendem opened 1 year ago

satvikpendem commented 1 year ago

Looks like you're using VSCode's Monaco code editor which has a VSCodeVim extension, consider supporting it as it seems support is baked into the extension.

Ehesp commented 1 year ago

Could you link me to that? I've not taken much of a look into vim but it's something that's been requested.

Ehesp commented 1 year ago

Ah, this one :D https://github.com/brijeshb42/monaco-vim - will take a look

satvikpendem commented 1 year ago

https://github.com/VSCodeVim/Vim

https://github.com/vscode-neovim/vscode-neovim

I meant these two actually. The first one is the official Vim emulator for VSCode, but the second one actually uses your native neovim executable unlike the former which is just an emulation, even though it's very good. I'm not sure how well the latter works on the web though. I know CodeSandbox has a Vim extension as well though so you could look into what they did. My guess is they used VSCodeVim.

Edit: Yep, they use VSCodeVim: https://github.com/codesandbox/codesandbox-client/tree/master/standalone-packages/vscode-extensions/out/extensions/vscodevim.vim-1.2.0

satvikpendem commented 1 year ago

Any thoughts on this?

Ehesp commented 1 year ago

We're working on a VSCode Web integration where this should be possible :)