0

I recently installed linux on my Macbook Pro and I'm currently configuring it.

Since I'm a Vim user, I use Esc key a lot. So I map esc key to right Command key and map right Command key to use it without crossing my hands on my keyboard. In macOS, I used Karabinder-Elements to map those keys.

How can I do the same in linux?

  • You sure can, but FWIW I'm a massive vim user and never use escape! I use the jk trick. – Sparhawk Oct 14 '17 at 3:04
  • No worries. For the swapping part specifically, I'd use xkb. There are a few questions that are similar. – Sparhawk Oct 14 '17 at 5:15
  • I used xkb, but when I press command key, the window is disabled and I can't see the keycode of command key. – sohnryang Oct 14 '17 at 5:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.