Skip to content

Instantly share code, notes, and snippets.

@oshyshko
Last active September 6, 2015 14:50
Show Gist options
  • Save oshyshko/104d173a906f80bc830f to your computer and use it in GitHub Desktop.
Save oshyshko/104d173a906f80bc830f to your computer and use it in GitHub Desktop.
os x keyboard fixed pgup/pgdown + home/end
//
// Windows/Linux cursor movement keybindings for OS X
//
// Put this file to ~/Library/KeyBindings/DefaultKeyBinding.dict
// Read more at http://osxnotes.net/keybindings.html
//
{
"\UF729" = moveToBeginningOfParagraph:; // home
"\UF72B" = moveToEndOfParagraph:; // end
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // home + shift
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // end + shift
"\Uf72c" = pageUp:; // pgup
"\Uf72d" = pageDown:; // pgdn
"$\Uf72c" = pageUpAndModifySelection:; // pgup + shift
"$\Uf72d" = pageDownAndModifySelection:; // pgdn + shift
"^\Uf702" = moveWordBackward:; // left + ctrl
"^\Uf703" = moveWordForward:; // right + ctrl
"^$\Uf702" = moveWordBackwardAndModifySelection:; // left + ctrl + shift
"^$\Uf703" = moveWordForwardAndModifySelection:; // right + ctrl + shift
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment