Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- //Macro
- {"keys":["super+space"],
- "command":"run_macro_file",
- "args": {"file":"Packages/User/spaceMove.sublime-macro"}
- },
- {"keys":[",","a"],
- "command":"run_macro_file",
- "args": {"file":"Packages/User/construct_assing_macro.sublime-macro"}
- },
- {"keys":["super+;"],
- "command":"run_macro_file",
- "args": {"file":"Packages/User/semicolon.sublime-macro"}
- },
- // php-cs-fixer
- { "keys": ["super+shift+l"], "command": "build" },
- {"keys":["super+shift+;"],
- "command":"run_macro_file",
- "args": {"file":"Packages/User/shift-semicolon.sublime-macro"}
- },
- //Beginin of Pharase
- // { "keys": ["super+0"], "command": "move_to", "args": {"to": "bol"} },
- { "keys": ["ctrl+a"], "command": "move_to", "args": {"to": "bol"} },
- { "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
- //End of line
- { "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol"} },
- // Reopen closed tab
- { "keys": ["super+shift+t"], "command": "open_recent_file", "args": {"index" : 0} },
- //pannel resize
- {
- "keys":["super+ctrl+right"],
- "command":"set_layout",
- "args":
- {
- "cols":[0.0,0.33,1.0],
- "rows":[0.0,1.0],
- "cells":[[0,0,1,1],[1,0,2,1]]
- }
- },
- {
- "keys":["super+ctrl+left"],
- "command":"set_layout",
- "args":
- {
- "cols":[0.0,0.66,1.0],
- "rows":[0.0,1.0],
- "cells":[[0,0,1,1],[1,0,2,1]]
- }
- },
- { "keys": ["super+shift+r"], "command": "goto_symbol_in_project" },
- // { "keys": ["ctrl+minus"], "command": "jump_back" },
- { //go definition
- "keys": ["alt+d"], "command": "goto_definition"
- },
- { // jump back
- "keys": ["alt+b"], "command": "jump_back"
- },
- { "keys": ["alt+shift+b"], "command": "jump_forward" },
- // Reindent
- {
- "keys": ["super+shift+l"], "command": "reindent" , "args": { "single_line": false }
- },
- //auto complete
- { "keys": ["ctrl+/"], "command": "auto_complete" },
- // { "keys": ["tab"],
- // "command": "insert",
- // "args": {"characters": "\t"},
- // "context":
- // [
- // { "key": "auto_complete_visible" }
- // ]
- // },
- // { "keys": ["ctrl+/"], "command": "replace_completion_with_auto_complete", "context":
- // [
- // { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
- // { "key": "auto_complete_visible", "operator": "equal", "operand": true },
- // { "key": "setting.tab_completion", "operator": "equal", "operand": true }
- // ]
- // },
- // sidebar
- { "keys": ["super+1"], "command": "toggle_side_bar" },
- { "keys": ["alt+shift+j"], "command": "move_to_neighboring_group", "args": {"forward": false} },
- { "keys": ["alt+j"], "command": "focus_neighboring_group", "args": {"forward": false} },
- // { "keys":["ctrl+o"],
- // "command": "side_bar_open_in_browser",
- // "args":{"paths":[], "type":"testing","browser":"chrome"}
- // },
- {
- "keys": ["f2"],
- "command": "side_bar_rename"
- },
- //ESC key binding
- {
- "keys":["j","j"],"command": "exit_insert_mode",
- "context":
- [
- {"key":"setting.command_mode","operand":false},
- {"key":"setting.command_mode","operand":false},
- ]
- },
- //AdvancedNewFile Short cut from "super+alt+n" to "n","n"
- {
- "keys":["super+alt+n"],"command":"advanced_new_file_new",
- "context":
- [
- {"key":"setting.command_mode","operand":true},
- ]
- },
- // Alignment
- { "keys": ["super+ctrl+shift+a"], "command": "alignment" },
- // Can i use
- // { "keys": ["ctrl+alt+f"], "command": "use_it" },
- // Snippet
- { "keys": ["ctrl+y"], "command": "new_snippet" },
- // Paste & Indent
- { "keys": ["super+v"], "command": "paste_and_indent" },
- { "keys": ["super+shift+v"], "command": "paste"},
- // New View into File
- { "keys": ["f11"], "command": "clone_file"},
- // Auto Prefixer
- {
- "keys": ["alt+super+p"],
- "command": "autoprefixer"
- },
- { "keys": ["super+shift+t"], "command": "reopen_last_file" },
- //Syntax Fold
- // // Fold all code blocks
- // { "keys": ["ctrl+z", "ctrl+a"],
- // "command": "fold_all" },
- // // Unfold all code blocks
- // { "keys": ["ctrl+z", "ctrl+shift+o"],
- // "command": "unfold_all"},
- // // Fold current code blocks
- // { "keys": ["ctrl+z", "ctrl+f"],
- // "command": "fold_current"},
- // // Unfold current code blocks
- // { "keys": ["ctrl+z", "ctrl+o"],
- // "command": "unfold_current"},
- // Reveal in finder
- { "keys": ["ctrl+shift+super+o"],
- "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}},
- // Open quick panel to change default language
- { "keys": ["shift+f5"],
- "command": "fold_panel"},
- //Change Quote
- { "keys": ["ctrl+super+'"], "command": "change_quotes" },
- //Class argument
- // {
- // "keys": ["ctrl+i"],
- // "command": "run_macro_file",
- // "args": {"file": "res://Packages/User/initialize_properties.sublime-macro"}
- // },
- // PHP Companion
- // { "keys": ["f9"], "command": "expand_fqcn" },
- { "keys": ["f9"], "command": "expand_fqcn", "args": {"leading_separator": true} },
- { "keys": ["alt+i"], "command": "find_use" },
- // { "keys": ["f4"], "command": "import_namespace" },
- // { "keys": ["f8"], "command": "implement" },
- // { "keys": ["shift+f12"], "command": "goto_definition_scope" },
- { "keys": ["alt+c"], "command": "insert_php_constructor_property" },
- //Origami Create Panel to right;
- { "keys": [":","s","p"], "command": "create_pane", "args": {"direction": "down","give_focus":true} },
- { "keys": [":","v","s","p"], "command": "create_pane", "args": {"direction": "right","give_focus":true} },
- { "keys": ["ctrl+d"], "command": "destroy_pane", "args": {"direction": "self"} },
- //Simple PHPUnit
- // { "keys":[",","p"],"command":"simple_php_unit","args": {"test_current_file": true}},
- //Sublime PHPUNIT
- { "keys":["ctrl+super+t"], "command":"run_all_phpunit_tests"},
- { "keys":["super+t"], "command":"run_phpunit_test"},
- //Delete Line
- // { "keys": ["super+shift+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
- //Duplicate Line
- { "keys": ["super+shift+d"], "command": "duplicate_line" },
- //comment
- // { "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } },
- { "keys": ["super+shift+/"], "command": "toggle_comment", "args": { "block": true } },
- //copy path
- { "keys": [",","c"], "command": "copy_path" },
- { "keys": ["ctrl+v"], "command": "clone_file_to_pane", "args": {"direction": "right"} },
- // Creat New Pane and Move
- { "keys": ["ctrl+l"], "command": "new_pane", "args": {"move": true} },
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement