How to use Windows keymap on Mac and in your favorite IDE for example IntelliJ?

1.1 Changing keymapping in on Mac

1.2 On the Mac there is one more modifier key.

2.1 How to find a Windows keymapping in Intellij?

Problem with IntelliJ’s XWin keymap on Mac

2.1.a The familiar Ctrl key is not on the most right bottom corner as We have swapped copy-paste in the Mac to have a pinky copy paste.

2.1.b The Familiar Alt key is not leftmost to the Space key.

2.2 Alt + any other key produces as a symbol.

{
"description": "ctrl/command swap",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.jetbrains\\.intellij$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "left_command"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.jetbrains\\.intellij$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "left_command"
},
"to": [
{
"key_code": "left_control"
}
],
"type": "basic"
}
]
}

2.3 Conflicting keymaps with Mac and how to fix them

  • Spotlight search (command+space)
    Preferences ->Keyboard -> Shortcuts -> Spotlight. ( remat to option + space for example)
  • Hide window (command + space)
    Control + h ( shows hierarhy in IDEA)
  • Quit program (control + q)
    In IDEA it is showing

Summary

References:

  1. https://stackoverflow.com/questions/35874608/intellij-default-windows-keymap-on-mac-os-x
  2. https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf
  3. https://gist.github.com/vikreinok/69e18a79d08db956db4b56a9ae2feb91
  4. https://plugins.jetbrains.com/plugin/13094-xwin-keymap

--

--

--

Software developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

TryHackMe — Brainpan 1

#freestockphoto (Sunday 29th 08AM)

Kotlin Multiplatform: Exploring The Possibilities

Flutter And Firebase Are An Assassin Combination For The App Development

How to stop your AWS costs from rocketing

Six Considerations for Introducing New Systems

OCA and OCP certifications: are they worth it?

Tips to Optimize Performance in JMeter and Test Script

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Viktor Reinok

Viktor Reinok

Software developer

More from Medium

SAP GLM Integration with EWM in S4 Embedded System

Bite-Sized Deliveries for the Sims 4 and 11/30 patch update

Local and Remote code development using docker and VS Code

Future of Databases