Skip to content

Instantly share code, notes, and snippets.

@bhb
Created May 3, 2009 23:49
Show Gist options
  • Save bhb/106206 to your computer and use it in GitHub Desktop.
Save bhb/106206 to your computer and use it in GitHub Desktop.
/* Place this code in a file name
~/Library/KeyBindings/DefaultKeyBinding.dict
You make have to create the ~/Library/KeyBindings/ directory*/
{
"^w"="deleteWordBackward:";
/* Here are some other examples, which I'm not currently using
For all you'd ever want to know about keybindings in OS X, check out
http://xahlee.org/emacs/osx_keybinding.html
"~f"="moveWordForward:";
"~b"="moveWordBackward:";
"~<"="moveToBeginningOfDocument:";
"~>"="moveToEndOfDocument:";
"~v"="pageUp:";
"~d"="deleteWordForward:";*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment