Last active
February 4, 2020 02:20
-
-
Save redraiment/e7ea9d361cb5a0af49a3 to your computer and use it in GitHub Desktop.
~/Library/KeyBindings/DeafultKeyBinding.dict 解决OSX Option 快捷键输出奇葩字符的问题
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
/* | |
* Ctrl(C): ^ | |
* Option(M): ~ | |
*/ | |
{ | |
"^/" = "undo:"; | |
"^a" = "moveToBeginningOfLine:"; | |
"^e" = "moveToEndOfLine:"; | |
"^g" = "_cancelKey:"; | |
"^t" = "transpose:"; | |
"^v" = "pageDown:"; | |
"^w" = "cut:"; | |
"^y" = "paste:"; | |
"~/" = "complete:"; | |
"~<" = "moveToBeginningOfDocument:"; | |
"~>" = "moveToEndOfDocument:"; | |
"~b" = "moveWordBackward:"; | |
"~c" = "capitalizeWord:"; | |
"~d" = "deleteWordForward:"; | |
"~f" = "moveWordForward:"; | |
"~l" = "lowercaseWord:"; | |
"~m" = "setMark:"; | |
"~t" = "transposeWords:"; | |
"~u" = "uppercaseWord:"; | |
"~v" = "pageUp:"; | |
"~w" = "copy:"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
快捷键
命令
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSResponder_Class/index.html
参考
https://www.hcs.harvard.edu/~jrus/site/cocoa-text.html