bridge-core / editor

Next generation of bridge., the Minecraft Add-On editor
https://editor.bridge-core.app
GNU General Public License v3.0
138 stars 41 forks source link

Add Vim Keybindings #1036

Open darylducharme opened 8 months ago

darylducharme commented 8 months ago

Summary I'm a developer who uses Vim keybindings wherever I can. It just speeds up my work. It would be nice if this were possible to do in bridge.

Alternatives/Considerations This might be done best as an extension. I'm not sure if it is possible through the extension api though.

Additional context/Motivation Developers who use Vim really dislike using a regular text editor. It just feels slow.

outercloudstudio commented 8 months ago

I think this would be a good addition, however, I'm not familiar with vim keybinds. Which ones do you most commonly use?

darylducharme commented 8 months ago

Oh, so many. Plus, the idea is that the editor becomes modal. Because of this, it's likely more than just simply adding keybindings. VS code extension is very complete: https://github.com/VSCodeVim/Vim but I think there was something out there to add vim extensions in webapp text fields. I think it might be the vim.js project: https://github.com/coolwanglu/vim.js

darylducharme commented 8 months ago

Also, the neovim editor component might give easier integration (for those who choose to use it). https://github.com/rhysd/neovim-component

darylducharme commented 1 month ago

Found something for the Monaco editor specifically, which is what you use. https://github.com/brijeshb42/monaco-vim

outercloudstudio commented 1 month ago

Thank you. This looks promising 👍