Neovim extension and inoremap
The neovim extension defers insert mode to VSCode. In other words, inoremap doesn't work at all.
Is there a VSCode way to simulate inoremap? e.g. typing .[ to expand to ->array()
Note: there is this closed issue which outlines what I'm looking for.
Note 2: VIM extension has "vim.insertModeKeyBindings" settings, but I would like to use neovim instead.
Thanks!
Posted Nov 3, 2021, 1:19 AM UTC
22
VS Code has snippets https://code.visualstudio.com/docs/editor/userdefinedsnippets
Unfortunately, they don’t expand instantly as they are typed, and require pressing tab. This is fine for very long, hardly used snippets.
For things typed frequently eg >> changing to => the single tab makes typing it longer (3 keys vs 2 key presses)
That example above is handy on 40% keyboards where some keys aren’t easily accessible.