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.

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

1 Answer 1

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

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.