Last active
June 7, 2016 21:00
-
-
Save exogen/58614806ca83e0b69c61 to your computer and use it in GitHub Desktop.
Fix Mac smart quote shortcuts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Put this file at ~/Library/KeyBindings/DefaultKeyBinding.dict | |
// You may need to run: mkdir ~/Library/KeyBindings | |
{ | |
"~[" = (insertText:, "\U2018"); // Option-[ inserts left single quote | |
"~]" = (insertText:, "\U2019"); // Option-] inserts right single quote | |
"~{" = (insertText:, "\U201c"); // Option-Shift-[ inserts left double quote | |
"~}" = (insertText:, "\U201d"); // Option-Shift-] inserts right double quote | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the best.