Skip to content

Instantly share code, notes, and snippets.

@ricardo-valerio
Last active July 21, 2021 14:00
Show Gist options
  • Save ricardo-valerio/de9b65d2a8bd00f3092e to your computer and use it in GitHub Desktop.
Save ricardo-valerio/de9b65d2a8bd00f3092e to your computer and use it in GitHub Desktop.
sublime text 2 keybinding to be able to move to the begin/end of line just like in sublime text 3
[
// go to beginning or end of the line
{ "keys": ["super+left"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["super+right"], "command": "move_to", "args": {"to": "eol", "extend": false} }
// move between empty lines with the alt key
{"keys": ["alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false } },
{"keys": ["alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true } }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment