Forked from Dayjo/Default (OSX).sublime-keymap -- User
Last active
November 13, 2017 16:37
-
-
Save mnme/5235936 to your computer and use it in GitHub Desktop.
Sublime Text 2 and 3: fix for OSX home/end keys, with selection support and command (super) key
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
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} }, | |
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} }, | |
{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} }, | |
{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true } }, | |
{ "keys": ["super+end"], "command": "move_to", "args": {"to": "eof"} }, | |
{ "keys": ["super+home"], "command": "move_to", "args": {"to": "bof"} }, | |
{ "keys": ["super+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} }, | |
{ "keys": ["super+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true } }, |
sweet jesus thank you, this was driving me nuts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it works great.
syntax is fine. don't forget the last comma (,)