Skip to content

Instantly share code, notes, and snippets.

@iiiGerardoiii
Last active August 15, 2018 14:41
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 iiiGerardoiii/eb2c8469836af670c4548f4c6214c1c5 to your computer and use it in GitHub Desktop.
Save iiiGerardoiii/eb2c8469836af670c4548f4c6214c1c5 to your computer and use it in GitHub Desktop.
Colemak keybinds for Vintage mode on Sublime Text
[
{ "keys": ["m"], "command": "enter_insert_mode",
"context":
[
{"key": "setting.command_mode"},
{"key": "selection_empty"}
]
},
{ "keys": ["M"], "command": "enter_insert_mode", "args":
{"insert_command": "vi_move_to_first_non_white_space_character"},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["M"], "command": "enter_insert_mode",
"args": {"insert_command": "shrink_selections_to_beginning"},
"context": [
{"key": "setting.command_mode"},
{"key": "selection_empty", "operator": "equal", "operand": false}
]
},
{ "keys": ["i"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": true, "extend": true, "visual": false }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["h"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["n"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true },
"linewise": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["e"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": false, "extend": true },
"linewise": true },
"context": [{"key": "setting.command_mode"}]
},
{
"keys": ["k"], "command": "find_next",
"args": {"select_text": false},
"context": [{"key": "setting.command_mode"}]
},
{
"keys": ["K"],
"command": "find_prev",
"args": {"select_text": false},
"context": [{"key": "setting.command_mode"}]
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment