1

Is there any way to assign the tilde character '~' as system-wide shortcut for Command-Tab to switch back and forth between two recent open apps?

Currently I assigned tilde to my iterm as system-wide hotkey however, I can't figure out how to do so in System Preferences.

3
  • What is "tilda"? – nohillside Dec 4 '14 at 12:38
  • @patrix tilda is tilde or ~ – Tom Gewecke Dec 4 '14 at 12:46
  • what's your physical keyboard layout? – klanomath Dec 4 '14 at 15:59
1

You can do this with Karabiner with a private.xml such as this:

<?xml version="1.0"?>
<root>
  <item>
    <name>~ to ⌘⇥</name>
    <identifier>private.tildetocommandtab</identifier>
    <autogen>
      __KeyToKey__
      KeyCode::BACKQUOTE, VK_SHIFT | ModifierFlag::NONE,
      KeyCode::TAB | ModifierFlag::COMMAND_L
    </autogen>
  </item>
</root>

This will effectively replace command with shift and tab with tilde, so that holding shift and pressing tilde twice will switch to the third app rather than back to the first.

1
  • Thanks @grgarside.. Karabiner is awesome. Actually I removed VK_SHIFT so now just by pressing one key I can switch between two apps. Tilde is really useless ;) – artronics Dec 4 '14 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .