Skip to content

Instantly share code, notes, and snippets.

@igorbabko
Created June 24, 2017 18:21
Show Gist options
  • Save igorbabko/f7ac30c2f4fa01c306a64a78a747cdc3 to your computer and use it in GitHub Desktop.
Save igorbabko/f7ac30c2f4fa01c306a64a78a747cdc3 to your computer and use it in GitHub Desktop.
[
{ "keys": ["super+u"], "command": "find_use" },
{ "keys": ["alt+p"], "command": "insert_php_constructor_property" },
{ "keys": ["ctrl+t"], "command": "run_all_phpunit_tests" },
{ "keys": ["ctrl+d"], "command": "run_phpunit_tests_in_dir" },
{ "keys": ["super+t"], "command": "run_single_phpunit_test" },
{ "keys": [",", "w"], "command": "save",
"context": [
{"key": "setting.command_mode"},
]
},
{ "keys": ["j", "j"], "command": "exit_insert_mode", "context": [
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
{ "keys": ["ctrl+u"], "command": "redo" },
{ "keys": [";"], "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": ["j"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["k"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true },
"linewise": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["l"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": false, "extend": true },
"linewise": true },
"context": [{"key": "setting.command_mode"}]
},
// { "keys": ["super+u"], "command": "redo", "context": [
// { "key": "setting.command_mode", "operand": false },
// ]
// },
// { "keys": ["i", "i"], "command": "exit_visual_mode",
// "context":
// [
// { "key": "setting.command_mode"},
// { "key": "num_selections", "operand": 1},
// { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": false }
// ]
// },
// {
// "keys": ["j"],
// "command": "move",
// "args": { "by": "characters", "forward": false },
// "context":
// [
// { "key": "setting.command_mode" },
// ]
// },
// {
// "keys": ["k"],
// "command": "move",
// "args": { "by": "lines", "forward": true },
// "context":
// [
// { "key": "setting.command_mode" },
// ]
// },
// {
// "keys": ["l"],
// "command": "move",
// "args": { "by": "lines", "forward": false },
// "context":
// [
// { "key": "setting.command_mode" },
// ]
// },
// {
// "keys": [";"],
// "command": "move",
// "args": { "by": "characters", "forward": true },
// "context":
// [
// { "key": "setting.command_mode" },
// ]
// },
// { "keys": ["super+e"], "command": "expand_fqcn" },
// { "keys": ["super+i"], "command": "import_namespace" },
// { "keys": ["ctrl+shift+s"], "command": "auto_save" },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment