Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .