flathub / com.visualstudio.code

https://flathub.org/apps/details/com.visualstudio.code
148 stars 67 forks source link

GNOME Tweaks keys remap not working in Vim mode #391

Open xplosionmind opened 1 year ago

xplosionmind commented 1 year ago

Keys remaps in GNOME Tweaks are not recognized in Vim mode:

To Reproduce Steps to reproduce the behavior:

  1. Go to GNOME Tweaks
  2. Remap keys: swap the esc and the CAPS LOCK key
  3. When in Vim mode, pressing caps lock (which works as esc in any other software) does not do anything (not even toggle caps), while esc works only when pressing the actual esc key.

Expected behavior A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

ghost commented 1 month ago

Open settings and type 'keyCode', then replace code with keyCode

ghost commented 1 month ago

for reference, this happens with non-Flatpak VSCode too, even vscode.dev, it's a limitation of Electron/GNOME's remapping although this should be fixed by GNOME themselves soon