Last active
January 28, 2018 00:55
-
-
Save lodestone/75a5bbf3463edf862f268be058502620 to your computer and use it in GitHub Desktop.
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
{ | |
"~f" = "moveWordForward:"; /* M-f */ | |
"~b" = "moveWordBackward:"; /* M-b */ | |
"~w" = (selectWord:); | |
// select entire line/paragraph | |
"@L" = (selectParagraph:); | |
// select from beginning of paragraph to last character | |
"@l" = (moveToBeginningOfParagraph:, moveToEndOfParagraphAndModifySelection:); | |
// bookmark | |
"~1" = (setMark:); | |
// jump to bookmark | |
"~2" = (swapWithMark:,centerSelectionInVisibleArea:); | |
// ⌘+d selects a word, ⌘+⇧+D selects a word, copies it, then deselects | |
"@D" = (setMark:,moveWordBackward:,selectWord:,copy:,swapWithMark:); | |
"@d" = (moveRight:,moveWordBackward:,selectWord:); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment