Skip to content


Swapping Rewind/Fast-Forward with Home/End on a MacBook with OS X

I use Home and End all the time on my Windows machine, and they are greatly missed on my MacBook. To recapture this beginning-of-line and end-of-line key functionality, I remapped my keys with KeyRemap4MacBook.

My functionality does not exist as a default in the program, so I had to add a custom mapping (the process of which is very well detailed here). Here is what the private.xml file should look like for this to work:

<?xml version="1.0"?>
<root>
  <list>
    <item>
      <name>Custom</name>
      <list>
        <item>
          <name>Rewind/Fast-Forward to Home/End (beginning/end of line)</name>
          <identifier>remap.custom_rw_ff_to_home_end</identifier>
          <autogen>--ConsumerToKey-- ConsumerKeyCode::MUSIC_PREV,    KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L</autogen>
          <autogen>--ConsumerToKey-- ConsumerKeyCode::MUSIC_NEXT,    KeyCode::CURSOR_RIGHT, ModifierFlag::COMMAND_L</autogen>
        </item>
      </list>
    </item>
  </list>
</root>

Save that into private.xml, reload the XML file in KeyRemap4MacBook, and you’ll be able to use << and >> as Home and End without having to sacrifice your right Command and Option keys. Hoozah…

Posted in Techmology.