I have a Windows laptop at work, running cygwin. I'm very comfortable with its key mappings.

My ideal setup would be for my Terminal app on my Mac home computer to have the same key mappings. It's not just a matter of copying over my .zshrc and xmodmap settings.

And it's not just a mapping of switching the Ctrl and Cmd keys, system-wide (which I've already done).

Is there any generic way to have the two keymappings be identical?

  • It would probably help if you gave a concrete example of some keys that don't behave the way you would like. – Chris Page Sep 18 '11 at 1:35

Your asking for a generic way, but the problem you have is that you:

  • don't use one keyboard to control both computers (which would have a solution)
  • don't have the same operation system (which reduces the chance of a generic solution)

To remap your Mac keyboard you can use something like Controllermate or run AutoHotKey (using Darwine is claimed to work) to map special functions to your keys.

If you want to change your Windows keyboard use Microsoft Keyboard Layout Creator 1.4.

It's too bad AutoHotKey needs the Windows API so much, but if it works with Darwine, that should already do the trick for you.

Edit: Check this program too Double Command and if anyone can find the question about controlling multiple computers with one keyboard/mouse please leave a comment

  • actually I do use the same keyboard for both my Mac and my windows laptop. It's a Logitech keyboard. – Aaron F. Aug 19 '09 at 5:40
  • I'll look up the previous question, though it's not entirely the way I meaned it. It was a question about controlling two computers (at the same time) with one keyboard – Ivo Flipse Aug 19 '09 at 6:19

You can customize the keyboard map in Terminal preferences:

Terminal > Preferences > Settings > [profile] > Keyboard

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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