Karabiner ( KeyRemap4MacBook) Ctrl to Command, preserve Ctrl+Tab and Command+Tab I've been struggling with this for a few hours now. What I want to achieve is I want to map Left Ctrl to Left Command ⌘. However, I want to preserve the functionality of Ctrl+Tab. So Ctrl+Anything should be Command ⌘+Anything with the exception of Tab.
What I could achieve:


Leave Ctrl and Command ⌘ as they are (default)
Map Ctrl to Command ⌘ (in this case Ctrl+Tab = Command ⌘+Tab)
Map Ctrl to Command ⌘ and map Command ⌘+Tab to Ctrl+Tab (in this case Command ⌘+Tab is not preserved)


(I might want to add some other exceptions in the future, but seeing the basics surely helps).

Thank you.
Since both right and left ⌘ are identical in functionality (I hope this is the case in your setup), we first map left Ctrl to the right ⌘:

&lt;autogen&gt;
  __KeyToKey__
  KeyCode::CONTROL_L,
  KeyCode::COMMAND_R
&lt;/autogen&gt;


Then map right ⌘+Tab to Ctrl+Tab:

&lt;autogen&gt;
  __KeyToKey__
  KeyCode::TAB, ModifierFlag::COMMAND_R,
  KeyCode::TAB, ModifierFlag::CONTROL_L
&lt;/autogen&gt;