To have home
and end
keys funciton on a Mac as they do on a PC:
Create the file ~/Library/KeyBindings/DefaultKeyBinding.dict
This file will likely not exist and you may also need to create the KeyBindings
directory.
In the file, insert this code.
{