I wanted my Home and End keys to behave as they do in Windows. I found a nice solution here and thought I would update with the recomended changes for modern OS versions.
- If not present, create directory
~/Library/KeyBindings
. - Create file
~/Library/KeyBindings/DefaultKeyBinding.dict
3. Paste the following contents:
{
"\UF729" = moveToBeginningOfLine:; // home
"\UF72B" = moveToEndOfLine:; // end