Skip to content

Instantly share code, notes, and snippets.

@Nuclearfossil
Created March 25, 2015 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nuclearfossil/c0ae2e243adea1917bd1 to your computer and use it in GitHub Desktop.
Save Nuclearfossil/c0ae2e243adea1917bd1 to your computer and use it in GitHub Desktop.
[
// Fix End of line
{ "keys": ["super+right"], "command": "move_to", "args": {"to": "hardeol", "extend": false} }
// Fix Beginning of line
,{ "keys": ["super+left"], "command": "move_to", "args": {"to": "hardbol", "extend": false} }
// Fix end of line + select
,{ "keys": ["super+shift+right"], "command": "move_to", "args": {"to": "hardeol", "extend": true} }
// Fix beginning of line + select
,{ "keys": ["super+shift+left"], "command": "move_to", "args": {"to": "hardbol", "extend": true} }
// Home goes to beginning of line
,{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} }
// End goes to the end of the line
,{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} }
// Cmd+Home goes to the beginning of the file
,{ "keys": ["super+home"], "command": "move_to", "args": {"to": "bof", "extend": false } }
// Cmd+End goes to the end of the file
,{ "keys": ["super+end"], "command": "move_to", "args": {"to": "eof", "extend": false} }
// Selection to beginning of file
,{ "keys": ["super+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true } }
// Selection to the end of file
,{ "keys": ["super+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment