Jump to content

roscoe

Member
  • Posts

    1
  • Joined

  • Last visited

roscoe's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Until this feature is added, you can achieve almost the same effect today by installing Karabiner and adding the following XML to the private.xml file in ~/Library/Application Support/Karabiner, within the file's <root> element. Then, in Karabiner, click the ReloadXML button and enable the new remapping by clicking its checkbox. Now, within Alfred's Quick Look, using the up or down cursor key will automatically send the Escape key to close Quick Look, wait 100ms, send the cursor key itself, and then send the Shift key to open Quick Look on the previous/next item. The 100ms wait time works on my computer, but may require adjustment for other computers. While holding the Fn (Function) key, you can use the up/down cursor keys to navigate within a Quick Look document. This fix assumes that the "⇧ to Quick Look selected item" option is enabled in the Advanced tab of the File Search feature in Alfred Preferences. The XML could be modified to instead send ⌘Y to open Quick Look. Enjoy! <appdef> <appname>ALFRED</appname> <equal>com.runningwithcrayons.Alfred-2</equal> </appdef> <windownamedef> <name>Quick Look</name> <regex>^Quick Look$</regex> </windownamedef> <item> <name>Alfred Quick Look cursor up/down fix</name> <identifier>private.alfred_quick_look_cursor_up-down_fix</identifier> <only>ALFRED</only> <windowname_only>Quick Look</windowname_only> <autogen> __KeyToKey__ KeyCode::CURSOR_DOWN | ModifierFlag::FN, KeyCode::CURSOR_DOWN </autogen> <autogen> __KeyToKey__ KeyCode::CURSOR_UP | ModifierFlag::FN, KeyCode::CURSOR_UP </autogen> <autogen> __KeyToKey__ KeyCode::CURSOR_DOWN, KeyCode::ESCAPE, KeyCode::VK_WAIT_100MS, KeyCode::CURSOR_DOWN, KeyCode::SHIFT_L </autogen> <autogen> __KeyToKey__ KeyCode::CURSOR_UP, KeyCode::ESCAPE, KeyCode::VK_WAIT_100MS, KeyCode::CURSOR_UP, KeyCode::SHIFT_L </autogen> </item>
×
×
  • Create New...