MAC>
Home and End keys
Source: http://evansweb.info/articles/2005/03/24/mac-os-x-and-home-end-keys
Start the Terminal application
Type the following:
cd /Library
mkdir KeyBindings
cd KeyBindings
pico DefaultKeyBinding.dict
If the pico screen has no other text in it, then Paste the following text into the file:
{
/* Remap Home / End to be correct :-) */
"UF729" = "moveToBeginningOfLine:"; /* Home */
"UF72B" = "moveToEndOfLine:"; /* End */
"$UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */
}
If there are already entries in DefaultKeyBinding.dict, just add the 4 new mappings above to the main section of your file.
Press control+o to save the file
Press control+x to exit the file
Type: exit
Start Microsoft Word, type in some tex, press the Home key. It should go to the start of the line.