Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking to find a way of mapping multiple simultaneous keypresses to one action. As an example something similar to hitting ctrl-option- at the same time but instead using just normal letters such as p-s-v. Pressing these keys simultaneously would perform some action.

I have downloaded both Ukelele and KeyRemap4Macbook but both only allow you to remap a single key--not including the special keys(ctrl,alt,etc).

How can I accomplish this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
    <autogen>__SimultaneousKeyPresses__ KeyCode::Q, KeyCode::W, KeyCode::E</autogen>

For more than two keys, use @begin and @end:

KeyCode::Q, KeyCode::W, KeyCode::E

This would make pressing F and I simultaneously open Finder:

  <autogen>__SimultaneousKeyPresses__ KeyCode::F, KeyCode::I, KeyCode::VK_OPEN_URL_FINDER</autogen>

See https://raw.github.com/tekezo/KeyRemap4MacBook/master/Tests/lib/string/data/checkbox.xml for more examples.

share|improve this answer
That's great Lauri, I'll check this out and hopefully it works! –  greedybuddha Dec 13 '13 at 18:10
and it works great! many thanks! –  greedybuddha Dec 16 '13 at 0:12
Site is now at pqrs.org/osx/karabiner –  w00t Mar 18 at 20:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.