: https://pqrs.org/osx/karabiner/
See.
There's a cyper on top that I've customized. I cast the Damned command+h into a ctrl+h, and I'm not afraid to press the wrong search key in eclipse to hide the window.
Open Private.xml and modify the following:
<?xml version= "1.0"?><root> <item> <name>cyper</name> <append> Change Command+h to ctrl+h</append> <identifier>cyper</identifier> <not> Remotedesktopconnection</not> <autogen>__keytokey__ keycode::h, Vk_command, KeyCode::H, Modifierflag::control_l</autogen> </item></root>
after saving, click on the reload XML in the main interface of the setting and tick on this setting.
In addition, in the MenuBar column can give you a new name for the configuration, such as I have the default configuration named Mac, my new configuration named win, so that can be in a variety of keyboard mode seamless switch
PS: Just my win key and ALT key cap size are similar. I just pulled it out and swapped it out, and now my external keyboard is exactly the same as the Mac keyboard.
Finally, I set the show/Hide Terminal shortcut key to the right mouse button on the keyboard (as long as the Notepad icon). He represents the Ternimal window at a glance. More convenient than the ctrl+alt+t under Ubuntu.
Mac Keyboard Modification Tool Karabiner