-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macos: bindings use cmd due to remap
- Loading branch information
Showing
1 changed file
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,32 @@ | ||
Key Modifiers | ||
^ : Ctrl | ||
$ : Shift | ||
~ : Option (Alt) | ||
@ : Command (Apple) | ||
# : Numeric Keypad | ||
|
||
Non-Printable Key Codes | ||
|
||
Standard | ||
Up Arrow: \UF700 Backspace: \U0008 F1: \UF704 | ||
Down Arrow: \UF701 Tab: \U0009 F2: \UF705 | ||
Left Arrow: \UF702 Escape: \U001B F3: \UF706 | ||
Right Arrow: \UF703 Enter: \U000A ... | ||
Insert: \UF727 Page Up: \UF72C | ||
Delete: \UF728 Page Down: \UF72D | ||
Home: \UF729 Print Screen: \UF72E | ||
End: \UF72B Scroll Lock: \UF72F | ||
Break: \UF732 Pause: \UF730 | ||
SysReq: \UF731 Menu: \UF735 | ||
Help: \UF746 | ||
|
||
OS X | ||
delete: \U007F | ||
|
||
/* Ctrl/Cmd are switched */ | ||
{ | ||
"^\UF702" = moveWordLeft:; | ||
"^\UF703" = moveWordRight:; | ||
"^$\UF702" = moveWordLeftAndModifySelection:; | ||
"^$\UF703" = moveWordRightAndModifySelection:; | ||
"@\UF702" = moveWordBackward:; /* Ctrl + LeftArrow */ | ||
"@\UF703" = moveWordForward:; /* Ctrl + RightArrow */ | ||
"@$\UF702" = moveWordBackwardAndModifySelection:; /* Ctrl + Shift + LeftArrow */ | ||
"@$\UF703" = moveWordForwardAndModifySelection:; /* Ctrl + Shift + RightArrow */ | ||
} |