Is there an extension to change the keyboard shortcuts in VSCode that enables key assignments that are not enabled only after installation?

Asked 2 years ago, Updated 2 years ago, 144 views

When I tried to start using VSCode on MacOS, I first installed an extension that made the key assignment look like Emacs.Specifically, I'm trying two things:

  • (probably) Emacs Keymap Improved (I don't remember, but it's an extension derived from Emacs Keymap)
  • Awesome Emacs Keymap

Both extensions appear to be installed to enable some key assignments (e.g., M-<), but not many key assignments (e.g., C-e) that conflict with existing key assignments.
In VSCode's Keyboard Shortcuts editor, I learned how to detect key assignment conflicts, but in order to achieve many of the Emacs-style key assignments prepared by the author of the extension, I don't just need to install the extensions.

I searched various search words thinking that there should be an easier way, but I haven't found any useful information, and I'm beginning to think that I have no choice but to resolve the key assignment conflict by myself.

Please let me know if there is any easier way.It is also useful to know that there is no such way, and that everyone is doing it like this, so please let me know.I'm trying it on MacOS for now, but I'd like to use VSCode on Windows and Linux, so it would be helpful if you could provide specific information for those environments.I look forward to your kind cooperation.

vscode key-mapping key-binding

2022-09-29 22:37

1 Answers

Sorry, I solved myself.

At the beginning of the question, "Installation alone will enable some key assignments (e.g., M-<), but not many key assignments (e.g., C-e) that conflict with existing key assignments." was my misunderstanding.I forgot to replace the Command and Ctrl keys in the MacOS system configuration, so it just looked like the key assignment was not enabled.After using the key assignment change utility (Karabiner-Elements) to prevent this replacement in VSCode, Emacs-style key assignments are now available as expected.

I'm sorry.


2022-09-29 22:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.