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.

Mac OS lets you swap ctrl and cmd keys. Is there a way to have them swapped on a per-application basis?

Basically I'm trying to run a terminal (via "Terminal" or X11 emulator or what not) and have the key mappings re-reversed. (System-wide, I need ctrl and cmd swapped, but that messes up my terminal, so I'd like to unswap them just when running that application)

share|improve this question
add comment

1 Answer

You can use IronAHK with #IfWinActive.

share|improve this answer
    
How close to the windows AHK is that? –  Phoshi Oct 18 '09 at 13:35
    
Full rewrite apparently, with features added for Linux/Mac. –  John T Oct 18 '09 at 13:36
    
Brilliant! One less barrier to using linux full time :) –  Phoshi Oct 18 '09 at 13:49
    
can you elaborate? how would i set this up? –  Aaron F. Oct 19 '09 at 3:15
    
You'll need to download it via svn (see code.google.com/p/ironahk/source/checkout ). It comes with a makefile. Run under Mono (may need to install Mono if you haven't already - mono-project.com/Main_Page ) –  John T Oct 19 '09 at 3:32
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.