Fix 'Home' and 'End' keys on non-Cocoa applications
Solution 1:
You can do this with Karabiner's 'Use PC Style Home/End #2'.
This remaps Home and End to ⌘← and ⌘→ respectively.
Solution 2:
Karabina is now Karabina-Elements. Download it and go to Complex Modifications:
Click Add Rule:
Click Import More Rules from the Internet, and select PC-Style Shortcuts:
Open the link with Karabina-Elements and click Import:
Enable these options (may as well make print screen work):
There is another option to use Ctrl+a and Ctrl+e for the terminal but I already fixed that like this (home/end are the diagonal arrows):
I also added the ctrl/shift-up/down shortcuts in there because for some insane reason Apple doesn't include them by default.
Solution 3:
I have the wired keyboard for my iMac. All I have to do is hit the down arrow and it takes me to the end of the line I that my cursor is on. It works exactly like the "end" key on my old windows computers.