Ryan Hoffman

Thoughts from a .NET obsessed software architect and developer.

Remap Home and End on OS X 10.8 Mountain Lion

One of the things I miss the most from my PC keyboard is how the Home and End keys work. In a text editor on Windows, Home will move the carrot to the beginning of the current line, and End will move the carrot to the end of the current line. On Mac OS X, Home moves the carrot to before the first character in the whole document, and the End moves the carrot to after the last character in the document. I often use Shift+Home/End in software development to select a whole line, and I miss this a lot. After some tinkering, the best way to do this is to use software called KeyRemap4Macbook, available here.

After KeyRemap4Macbook is installed, you configure it in the System Preferences app. On the “Change Key” tab, search for “Use PC Style Home/End” and toggle the option on that says “Use PC Style Home/End (except in Virtual Machine, RDC) (Change Home to Control+A) (Change End to Control+E)”. It is as easy as that!

Despite the awful UI that KeyRemap4MacBook has, it works very well. I wish you were able to configure all of the customizations in the UI, and I also wish there was much better organization of the pre-defined key remaps.

Comments