Skip to content

Instantly share code, notes, and snippets.

@gilbert
Last active February 27, 2018 11:30
Show Gist options
  • Save gilbert/10fdd692799fc7269b50abbcfb2ea410 to your computer and use it in GitHub Desktop.
Save gilbert/10fdd692799fc7269b50abbcfb2ea410 to your computer and use it in GitHub Desktop.
Add missing keyboard shortcuts on OS X
/*
Create this as a file ~/Library/KeyBindings/DefaultKeyBinding.dict
Then restart your computer.
NOTE: ~ means alt/option
^ means ctrl
*/
{
"~f"="moveWordForward:";
"~b"="moveWordBackward:";
"~<"="moveToBeginningOfDocument:";
"~>"="moveToEndOfDocument:";
"~v"="pageUp:";
"~d"="deleteWordForward:";
"~^h"="deleteWordBackward:";
"~\010"="deleteWordBackward:"; /* Alt-backspace */
"~\177"="deleteWordBackward:"; /* Alt-delete */
}
@jtoy
Copy link

jtoy commented Feb 16, 2018

keeper

@gilbert
Copy link
Author

gilbert commented Feb 26, 2018

Now you can practice these at your leisure :) https://gilbert.github.io/keydash/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment