Skip to content

Instantly share code, notes, and snippets.

@natanshalva
Last active August 29, 2015 14:24
Show Gist options
  • Save natanshalva/794b0c809dd2d80591b1 to your computer and use it in GitHub Desktop.
Save natanshalva/794b0c809dd2d80591b1 to your computer and use it in GitHub Desktop.
Sublime Text 3 - User Keys Bindings
[
{ "keys": ["j", "j"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
{ "keys": ["J", "K"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false },
{ "key": "setting.vintage_ctrl_keys" }
]
},
{ "keys": ["J", "K"], "command": "exit_visual_mode",
"context":
[
{ "key": "setting.command_mode"},
{ "key": "num_selections", "operand": 1},
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": false },
{ "key": "setting.vintage_ctrl_keys" }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment