Use the tab key for Mac OS X Spotlight?

1

As the title goes, how can I use the tab key to cycle through Spotlight suggestions, instead of arrow keys?

timfeirg

Posted 2015-03-09T04:02:23.483

Reputation: 185

Answers

3

Use Karabiner.

Steps:

  1. edit and save the private.xml file, you can find the file in Misc & Uninstall panel of Krabiner:

    <?xml version="1.0"?>
    <root>
        <appdef>
            <appname>SPOTLIGHT</appname>
            <equal>com.apple.Spotlight</equal>
        </appdef>
    
        <item>
            <name>Use Tab instead Up in Spotlight</name>
            <identifier>private.spotlight.tab</identifier>
            <only>SPOTLIGHT</only>
            <autogen>__KeyToKey__ KeyCode::TAB, ModifierFlag::SHIFT_L, KeyCode::CURSOR_UP</autogen>
            <autogen>__KeyToKey__ KeyCode::TAB, KeyCode::CURSOR_DOWN</autogen>
        </item>
    </root>
    
  2. Then make sure you check the Use Tab instead Up in Spotlight item after you Reload XML in Change Key panel.

It should works now.

Puttin

Posted 2015-03-09T04:02:23.483

Reputation: 146

thanks! But I wasn't entirely sure where to put this code, I tried creating another file spotlight.xml and include this file in private.xml, the new item didn't pop up after reload, also, putting this directly in private.xml, neither does that work, could you teach a little more? – timfeirg – 2015-03-13T05:29:46.307

@timfeirg just updated & hope it helps. – Puttin – 2015-03-14T05:25:17.800