Skip to content

Leave Cmd+Tab intact when Remap Modifier Key - Command_L

Thanks for filing an issue! Please answer the questions below so I can help you.

Detailed steps to reproduce the problem:

  1. Remap Modifier Key so Cmd+Tab is now available under, e.g. Ctrl+Tab
  2. Hit physical Cmd+Tab
  3. Actual: nothing happens because physical Cmd+Tab ain't Cmd+Tab.
  4. Expected: physical Cmd+Tab should reach the OS and show a Mac OS window switcher

Why? I would expect key remap in iTerm to have affect iTerm only. When I hit a system-wide shortcut like Cmd+Tab, it should work as normal.

Possible implementation

Karabiner, among many, allows one to remap modifier keys. One can remap Command_L to something else. There's also an option to remap Command_L except Command_L+Tab to leave Cmd+Tab intact:

image

Maybe this should be an inspiration for iTerm. Say, right below this:

image

Add a checkbox setting like this:

  • Pass-through Command+Tab
Edited by Damian Nowak