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

I want to remap keys on a MacBook with KeyRemap4MacBook.

I need to change CmdC to CmdM and CmdV to CmdN, because I don't like to always use left hand to press copy&plaste, it's aching and feeling bad.

I want to copy & plaste with right hand. following script does not work at all.

<?xml version="1.0"?>
  <root>
  <item>
  <name>Copy & Plaste</name>
  <appendix>Change cmd+C to cmd+M</appendix>
  <identifier>private.mead_copy_remap</identifier>
  <autogen>--KeyToKey-- KeyCode::C, VK_COMMAND, KeyCode::M</autogen>
 </item>
</root>
share|improve this question
    
Finally, I solve it without any other software kit. System-Pref, keyboard, application-shortcut....wow... – meadlai Nov 23 '12 at 7:48

The private.xml worked for me, but it just made pressing command-C insert m. Try something like this:

<?xml version="1.0"?>
<root>
    <item>
        <name>Copy & Paste</name>
        <appendix></appendix>
        <identifier>private.mead_copy_remap</identifier>
        <autogen>--KeyToKey-- KeyCode::M, VK_COMMAND, KeyCode::C, VK_COMMAND</autogen>
        <autogen>--KeyToKey-- KeyCode::N, VK_COMMAND, KeyCode::V, VK_COMMAND</autogen>
    </item>
</root>

Remember to press the ReloadXML button and enable the remapping:

share|improve this answer

You must log in to answer this question.

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