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
As described here, extensions can offer APIs for other extensions to use. I'm inclined to keep this small and uncontroversial at first. We can always expand as needed, but breaking changes to external APIs are always a pain.
Thanks for opening this, @J-Fields! setMode(Mode) would be useful to me.
My use case is to contribute to a plugin called edamagit (a recreation of Emacs' Magit interface).
The plugin opens a COMMIT_EDITMSG buffer/tab to enter your commit message when you commit files. By default that tab opens in normal mode (unless vim.startInInsertMode is true, but that setting applies to all files). It would ease the workflow to switch to insert mode when the commit buffer is opened so VsCodeVim users can just start typing straight away (this is also the typical behaviour in Emacs).
getMode(Mode) will be helpful to perform different action based on what's the current vim mode for VSpaceCode. The other things I would love to have is to have API to perform action directly (e.g. trigger easy motion jump) instead of calling vim.remap command.
@J-Fields Public keypress event and type api for other extensions will be very useful.
Currently other extension's type command can not work together with vscodevim.
As described here, extensions can offer APIs for other extensions to use. I'm inclined to keep this small and uncontroversial at first. We can always expand as needed, but breaking changes to external APIs are always a pain.
Open question: what else should be included?
The text was updated successfully, but these errors were encountered: