Skip to content

Instantly share code, notes, and snippets.

@dardub
Created June 25, 2013 22:39
Show Gist options
  • Save dardub/5863115 to your computer and use it in GitHub Desktop.
Save dardub/5863115 to your computer and use it in GitHub Desktop.
[
{ "keys": ["ctrl+,"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["ctrl+."], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["ctrl+shift+,"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["ctrl+shift+."], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["ctrl+'"], "command": "move_to", "args": {"to": "eol"} },
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true} },
{ "keys": ["ctrl+h"], "command": "move", "args": {"by": "characters", "forward": false} },
{ "keys": ["ctrl+j"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["super+shift+forward_slash"], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["ctrl+;"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["alt+v"], "command": "move", "args": {"by": "pages", "forward": false} },
{ "keys": ["ctrl+v"], "command": "move", "args": {"by": "pages", "forward": true} },
{ "keys": ["ctrl+h"], "command": "move", "args": {"by": "characters", "forward": false} },
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true} },
{ "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": false} },
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "lines", "forward": true} },
{ "keys": ["ctrl+d"], "command": "left_delete"},
{ "keys": ["ctrl+f"], "command": "right_delete"},
{ "keys": ["alt+d"], "command": "delete_word", "args": { "forward": true } },
{ "keys": ["ctrl+backspace"], "command": "delete_word", "args": { "forward": false } },
{ "keys": ["alt+backspace"], "command": "delete_word", "args": { "forward": false } },
{ "keys": ["super+backspace"], "command": "delete_word", "args": { "forward": false } },
{ "keys": ["ctrl+/"], "command": "undo"},
{ "keys": ["alt+z"], "command": "undo"}, // consistency with the Mac
{ "keys": ["alt+b"], "command": "move", "args": {"by": "words", "forward": false} },
{ "keys": ["ctrl+o"], "command": "sbp_open_line"},
{ "keys": ["ctrl+]"], "command": "next_view_in_stack" },
{ "keys": ["ctrl+["], "command": "prev_view_in_stack" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment