jasonwilliams / vscode-helix

MIT License
167 stars 8 forks source link

Custom keybind for ESC doesn't exit insert mode #8

Closed beeb closed 8 months ago

beeb commented 8 months ago

I have applied a modification to my keyboard layout (on ubuntu via xkb-options set to ['caps:escape_shifted_capslock']) so that the caps lock key effectively acts as the ESC key. However, when I hit this key while in INSERT mode, the extension does not revert to NORMAL mode.

jasonwilliams commented 8 months ago

I have done the same thing, except on windows (using sharpKeys), and CapsLock (ESC) is definitely returning to normal mode for me from insert. Are you seeing it still say INS at the bottom?

I can't reproduce this issue

beeb commented 8 months ago

It seems to be a VSCode issue, found this: https://stackoverflow.com/a/50875402. I confirm this works for me. No action required here, except maybe if you want to document this.