With the equivalent of PC's "Ctrl-Home" / "Ctrl-End" too:
[ // Beginning/End of the current line. { "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 } }, // Beginning/End of the document (using CMD). { "keys": ["super+home"], "command": "move_to", "args": {"to": "bof"} }, { "keys": ["super+end"], "command": "move_to", "args": {"to": "eof"} }, { "keys": ["super+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} }, { "keys": ["super+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true } }, // Beginning/End of the document (using CTRL, for when I have PC reflexes). { "keys": ["ctrl+home"], "command": "move_to", "args": {"to": "bof"} }, { "keys": ["ctrl+end"], "command": "move_to", "args": {"to": "eof"} }, { "keys": ["ctrl+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} }, { "keys": ["ctrl+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true } } ]
With the equivalent of PC's "Ctrl-Home" / "Ctrl-End" too: