Skip to content

Instantly share code, notes, and snippets.

@justinweiss
Created May 19, 2011 16:17
Show Gist options
  • Save justinweiss/981154 to your computer and use it in GitHub Desktop.
Save justinweiss/981154 to your computer and use it in GitHub Desktop.
Extra emacs keybindings in cocoa.
/* Picked up from Help search on Key Bindings. Good stuff -shane */
/* ~/Library/KeyBindings/DefaultKeyBinding.dict */
{
"~f"="moveWordForward:";
"~b"="moveWordBackward:";
"~<"="moveToBeginningOfDocument:";
"~>"="moveToEndOfDocument:";
"~v"="pageUp:";
"~d"="deleteWordForward:";
"~^h"="deleteWordBackward:";
"~\010"="deleteWordBackward:"; /* Alt-backspace */
"~\177"="deleteWordBackward:"; /* Alt-delete */
/* Escape should really be complete. */
"\033"="complete:"; /* Escape */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment