当前位置:网站首页>Apple modify system shortcut key

Apple modify system shortcut key

2022-07-05 07:30:00 2020 Java interview

// Entry directory Ctrl+Shift+G( Quick access directory shortcut keys for accessing )-> Get into ~/Library/KeyBindings/ Create a file DefaultKeyBinding.dict It reads as follows : Then restart the app ( Like a text editor ) Have a try
// Left Command Reference :https://macromates.com/blog/2005/key-bindings-for-switchers
// Right command reference :https://developer.apple.com/documentation/appkit/nsstandardkeybindingresponding
This function will not take effect until it is restarted

$ Shift (⇧)
^ Control (⌃)
~ Option (⌥)
@ Command (⌘)

Number pad

{
/* home */
“\UF729” = “moveToBeginningOfLine:”;
“$\UF729” = “moveToBeginningOfLineAndModifySelection:”;

/* end */
"\UF72B"  = "moveToEndOfLine:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";

/* ctrl-shift-home */
"@$\UF729" = moveToBeginningOfDocumentAndModifySelection:;

/* ctrl-shift-end */
"@$\UF72B" = moveToEndOfDocumentAndModifySelection:;

/* ctrl-home */
"@\UF729" = moveToBeginningOfDocument:;

/* ctrl-end */
"@\UF72B" = moveToEndOfDocument:;

/* page up/down */
"\UF72C"  = "pageUp:";
"\UF72D"  = "pageDown:";

}

原网站

版权声明
本文为[2020 Java interview]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140554242172.html