Tuesday 8 May 2018

modifier keys - Change command-tab to option-tab on Mac


I really love my Mac, but I hate how it destroys my muscle memory from the Windows keyboard I use at work. I want to remap the modifier keys to be as "Windows-keyboard-like" as possible.


I was wondering if it was possible to change the keys that open the command-tab box, and also remap the control-tab key combo.


Since I switched Control and Command keys, command-tab box opens with control-tab. Cycling through tabs is now done with command-tab. Is it possible to cycle through tabs with control-tab and open the command-tab box with option-tab?



Answer



Use KeyRemap4MacBook:


`


⌥⇥ is already used for inserting tabs in text fields, entering outline mode in TextEdit, and focusing elements in Safari.


Adding this to private.xml would change ⌘⇥ to ⌃⇥ and ⇧⌘⇥ to ⌃⇧⇥:


__KeyToKey__ KeyCode::TAB, VK_COMMAND | ModifierFlag::NONE, KeyCode::TAB, ModifierFlag::CONTROL_L
__KeyToKey__ KeyCode::TAB, VK_SHIFT | VK_COMMAND | ModifierFlag::NONE, KeyCode::TAB, ModifierFlag::CONTROL_L, ModifierFlag::SHIFT_L

You can change the shortcuts of menu bar items from System Preferences:



No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...