I've recently switched from Windows/Ubuntu to MacOS Catalina and I'm trying to avoid changing too many key mappings on Intellij 2020.2.

I'm trying to achieve these things:

  1. Swap Left Ctrl and Fn
  2. Having function keys as default in touch bar when using Intellij to be able to use combinations like Ctrl + F4 in Intellij without having to press any additional (Fn) keys
  3. (If possible) Map Ctrl + click to something other than Right Click

Here's what I've done so far:

  1. Swap Left Ctrl and Fn using Karabiner
  2. System Preferences > Keyboard > Shortcuts > Function Keys > Add Intellij
  3. Imported a complex modification in Karabiner to change Ctrl + click to just click.

The issues that I'm facing:

  1. Pressing original Fn (mapped to Left Ctrl) in Intellij changes touch bar from Function keys to other touch bar options. I'd like to disable this to be able to use Ctrl+F4.
  2. Left Ctrl+Click still behaves as right click.
  • 1
    Similar questions have been asked on how to remap keys to emulate Windows key combinations. The general consensus is don't. Developers write apps with the expectation of keys doing certain things and attempting to remap them en masse can cause lots of issues like what you're seeing with the Touch Bar - that's probably just the tip of the iceberg. Take some time and get used to the key mappings, you'll adapt quicker than you expect. – Allan Oct 20 '20 at 17:58
  • Thank you for the suggestion. – mindreader Oct 20 '20 at 21:19

You must log in to answer this question.

Browse other questions tagged .