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.

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 at 11:19
add comment

1 Answer 1

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"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__KeyToKey__ KeyCode::F4, VK_CONTROL | ModifierFlag::NONE, KeyCode::F19, ModifierFlag::CONTROL_L</autogen>
  </item>
</root>
share|improve this answer
    
hmm, didn't really work for me on keyremap4macbook... –  OTZ Mar 7 at 12:23
add comment

Your Answer

 
discard

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.