Skip to content

Instantly share code, notes, and snippets.

@veprbl
Created June 28, 2016 06:36
Show Gist options
  • Save veprbl/8bba7e1d729b11f110691a7e5b03d1e8 to your computer and use it in GitHub Desktop.
Save veprbl/8bba7e1d729b11f110691a7e5b03d1e8 to your computer and use it in GitHub Desktop.
Library/KeyBindings/DefaultKeyBinding.dict
{
/* insert Unicode character with Option key down*/
"~a" = ("insertText:", "\U03B1"); /* greek alpha α */
"~b" = ("insertText:", "\U03B2");
"~g" = ("insertText:", "\U03B3");
"~m" = ("insertText:", "\U03BC");
"~," = ("insertText:", "\U03BD");
"~r" = ("insertText:", "\U03C1");
"~x" = ("insertText:", "\U03BE");
"~s" = ("insertText:", "\U03C3");
"~c" = ("insertText:", "\U03C7");
"~v" = ("insertText:", "\U03C6"); /* varphi */
"~f" = ("insertText:", "\U03D5"); /* phi */
"~F" = ("insertText:", "\U03A6"); /* Phi */
"~p" = ("insertText:", "\U03C0"); /* pi */
"~w" = ("insertText:", "\U03C9");
"~e" = ("insertText:", "\U03B7");
"~t" = ("insertText:", "\U03B8");
"~l" = ("insertText:", "\U03BB");
"~L" = ("insertText:", "\U039B");
"~q" = ("insertText:", "\U03B5");
"~h" = ("insertText:", "\U03B4");
"~H" = ("insertText:", "\U0394");
/* move cursor with i j k l keys while Ctrl key down */
"^i" = ("moveUp:");
"^k" = ("moveDown:");
"^j" = ("moveLeft:");
"^l" = ("moveRight:");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment