Make Home and End keys behave like Windows on Mac OS X
The default behavior for the home and end keys on Mac OS X is not very useful. I almost never need to jump right to the top or bottom of a page and when I do I use the page up and page down keys. I almost constantly find myself needing to jump to the end and beginning of a line and that is what the home/end keys should do. I tried doing things “the Mac way” for a couple years and these keys just weren’t as fast and practical as they are on Linux or Windows. There is a solution for this, see below.
Edit the following file in your home directory. If the file or subdirectories don’t exist, create them.
Library/KeyBindings/DefaultKeyBinding.dict{ "\UF729" = moveToBeginningOfParagraph:; // home "\UF72B" = moveToEndOfParagraph:; // end }