Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Keyboard shortcuts like Command + Tab take effect regardless of currently focused applications, but shortcut keys like "Move focus to active or next window" (^F4 by default) are stolen by applications like Emacs or iTerm and do not work on such applications.

How does one make such keyboard shortcuts ("Move focus to active or next window" in my case) work generally regardless of which application you are on?

share|improve this question
Maybe there's something useful here – brasofilo Mar 3 '14 at 11:19

You can for example assign "Move focus to active or next window" to control-F19 and then use KeyRemap4MacBook to map control-F4 to control-F19:

<?xml version="1.0"?>
    <autogen>__KeyToKey__ KeyCode::F4, VK_CONTROL | ModifierFlag::NONE, KeyCode::F19, ModifierFlag::CONTROL_L</autogen>
share|improve this answer
hmm, didn't really work for me on keyremap4macbook... – OTZ Mar 7 '14 at 12:23

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.