Making Page Up / Down work 'correctly' on a Mac
Posted: Thu 25 Mar, 2010 3:09 am
Open Terminal (Applications -> Utilities -> Terminal) and type the following commands:
if you don’t see a KeyBindings folder, type
Once this directory exists use cd to move into it.
Finally
This opens the nano text editor. Copy these lines into the file.
Code: Select all
cd ~/Library/
ls
Code: Select all
mkdir KeyBindings
Code: Select all
cd KeyBindingsMake
Code: Select all
nano DefaultKeyBinding.dict
Code: Select all
{
/* Fix Home (insert mode and 'normal') */
"\\UF729" = "moveToBeginningOfLine:";
"$\\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* Fix 'End (insert mode and normal) */
"\\UF72B" = "moveToEndOfLine:";
"$\\UF72B" = "moveToEndOfLineAndModifySelection:";
/* Fix Page Up / Down */
"\\UF72C" = "pageUp:";
"\\UF72D" = "pageDown:";
}