Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.40 KB | None | 0 0
  1. [
  2. //Macro
  3. {"keys":["super+space"],
  4. "command":"run_macro_file",
  5. "args": {"file":"Packages/User/spaceMove.sublime-macro"}
  6. },
  7. {"keys":[",","a"],
  8. "command":"run_macro_file",
  9. "args": {"file":"Packages/User/construct_assing_macro.sublime-macro"}
  10. },
  11.  
  12. {"keys":["super+;"],
  13. "command":"run_macro_file",
  14. "args": {"file":"Packages/User/semicolon.sublime-macro"}
  15. },
  16.  
  17. // php-cs-fixer
  18. { "keys": ["super+shift+l"], "command": "build" },
  19.  
  20. {"keys":["super+shift+;"],
  21. "command":"run_macro_file",
  22. "args": {"file":"Packages/User/shift-semicolon.sublime-macro"}
  23. },
  24. //Beginin of Pharase
  25. // { "keys": ["super+0"], "command": "move_to", "args": {"to": "bol"} },
  26. { "keys": ["ctrl+a"], "command": "move_to", "args": {"to": "bol"} },
  27. { "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
  28. //End of line
  29. { "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol"} },
  30.  
  31. // Reopen closed tab
  32. { "keys": ["super+shift+t"], "command": "open_recent_file", "args": {"index" : 0} },
  33.  
  34. //pannel resize
  35. {
  36. "keys":["super+ctrl+right"],
  37. "command":"set_layout",
  38. "args":
  39. {
  40. "cols":[0.0,0.33,1.0],
  41. "rows":[0.0,1.0],
  42. "cells":[[0,0,1,1],[1,0,2,1]]
  43. }
  44. },
  45. {
  46. "keys":["super+ctrl+left"],
  47. "command":"set_layout",
  48. "args":
  49. {
  50. "cols":[0.0,0.66,1.0],
  51. "rows":[0.0,1.0],
  52. "cells":[[0,0,1,1],[1,0,2,1]]
  53. }
  54. },
  55. { "keys": ["super+shift+r"], "command": "goto_symbol_in_project" },
  56. // { "keys": ["ctrl+minus"], "command": "jump_back" },
  57. { //go definition
  58. "keys": ["alt+d"], "command": "goto_definition"
  59. },
  60. { // jump back
  61. "keys": ["alt+b"], "command": "jump_back"
  62. },
  63. { "keys": ["alt+shift+b"], "command": "jump_forward" },
  64.  
  65. // Reindent
  66. {
  67. "keys": ["super+shift+l"], "command": "reindent" , "args": { "single_line": false }
  68. },
  69.  
  70. //auto complete
  71. { "keys": ["ctrl+/"], "command": "auto_complete" },
  72. // { "keys": ["tab"],
  73. // "command": "insert",
  74. // "args": {"characters": "\t"},
  75. // "context":
  76. // [
  77. // { "key": "auto_complete_visible" }
  78. // ]
  79. // },
  80. // { "keys": ["ctrl+/"], "command": "replace_completion_with_auto_complete", "context":
  81. // [
  82. // { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
  83. // { "key": "auto_complete_visible", "operator": "equal", "operand": true },
  84. // { "key": "setting.tab_completion", "operator": "equal", "operand": true }
  85. // ]
  86. // },
  87.  
  88. // sidebar
  89. { "keys": ["super+1"], "command": "toggle_side_bar" },
  90.  
  91. { "keys": ["alt+shift+j"], "command": "move_to_neighboring_group", "args": {"forward": false} },
  92. { "keys": ["alt+j"], "command": "focus_neighboring_group", "args": {"forward": false} },
  93. // { "keys":["ctrl+o"],
  94. // "command": "side_bar_open_in_browser",
  95. // "args":{"paths":[], "type":"testing","browser":"chrome"}
  96. // },
  97.  
  98. {
  99. "keys": ["f2"],
  100. "command": "side_bar_rename"
  101. },
  102.  
  103. //ESC key binding
  104. {
  105. "keys":["j","j"],"command": "exit_insert_mode",
  106. "context":
  107. [
  108. {"key":"setting.command_mode","operand":false},
  109. {"key":"setting.command_mode","operand":false},
  110. ]
  111. },
  112. //AdvancedNewFile Short cut from "super+alt+n" to "n","n"
  113. {
  114. "keys":["super+alt+n"],"command":"advanced_new_file_new",
  115. "context":
  116. [
  117. {"key":"setting.command_mode","operand":true},
  118. ]
  119. },
  120.  
  121. // Alignment
  122. { "keys": ["super+ctrl+shift+a"], "command": "alignment" },
  123.  
  124. // Can i use
  125. // { "keys": ["ctrl+alt+f"], "command": "use_it" },
  126. // Snippet
  127. { "keys": ["ctrl+y"], "command": "new_snippet" },
  128. // Paste & Indent
  129. { "keys": ["super+v"], "command": "paste_and_indent" },
  130. { "keys": ["super+shift+v"], "command": "paste"},
  131. // New View into File
  132. { "keys": ["f11"], "command": "clone_file"},
  133. // Auto Prefixer
  134. {
  135. "keys": ["alt+super+p"],
  136. "command": "autoprefixer"
  137. },
  138. { "keys": ["super+shift+t"], "command": "reopen_last_file" },
  139.  
  140. //Syntax Fold
  141. // // Fold all code blocks
  142. // { "keys": ["ctrl+z", "ctrl+a"],
  143. // "command": "fold_all" },
  144.  
  145. // // Unfold all code blocks
  146. // { "keys": ["ctrl+z", "ctrl+shift+o"],
  147. // "command": "unfold_all"},
  148.  
  149. // // Fold current code blocks
  150. // { "keys": ["ctrl+z", "ctrl+f"],
  151. // "command": "fold_current"},
  152.  
  153. // // Unfold current code blocks
  154. // { "keys": ["ctrl+z", "ctrl+o"],
  155. // "command": "unfold_current"},
  156.  
  157. // Reveal in finder
  158. { "keys": ["ctrl+shift+super+o"],
  159. "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}},
  160.  
  161. // Open quick panel to change default language
  162. { "keys": ["shift+f5"],
  163. "command": "fold_panel"},
  164. //Change Quote
  165. { "keys": ["ctrl+super+'"], "command": "change_quotes" },
  166.  
  167. //Class argument
  168. // {
  169. // "keys": ["ctrl+i"],
  170. // "command": "run_macro_file",
  171. // "args": {"file": "res://Packages/User/initialize_properties.sublime-macro"}
  172. // },
  173. // PHP Companion
  174. // { "keys": ["f9"], "command": "expand_fqcn" },
  175. { "keys": ["f9"], "command": "expand_fqcn", "args": {"leading_separator": true} },
  176. { "keys": ["alt+i"], "command": "find_use" },
  177. // { "keys": ["f4"], "command": "import_namespace" },
  178. // { "keys": ["f8"], "command": "implement" },
  179. // { "keys": ["shift+f12"], "command": "goto_definition_scope" },
  180. { "keys": ["alt+c"], "command": "insert_php_constructor_property" },
  181. //Origami Create Panel to right;
  182. { "keys": [":","s","p"], "command": "create_pane", "args": {"direction": "down","give_focus":true} },
  183. { "keys": [":","v","s","p"], "command": "create_pane", "args": {"direction": "right","give_focus":true} },
  184. { "keys": ["ctrl+d"], "command": "destroy_pane", "args": {"direction": "self"} },
  185.  
  186. //Simple PHPUnit
  187. // { "keys":[",","p"],"command":"simple_php_unit","args": {"test_current_file": true}},
  188. //Sublime PHPUNIT
  189. { "keys":["ctrl+super+t"], "command":"run_all_phpunit_tests"},
  190. { "keys":["super+t"], "command":"run_phpunit_test"},
  191. //Delete Line
  192. // { "keys": ["super+shift+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
  193. //Duplicate Line
  194. { "keys": ["super+shift+d"], "command": "duplicate_line" },
  195.  
  196. //comment
  197. // { "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } },
  198. { "keys": ["super+shift+/"], "command": "toggle_comment", "args": { "block": true } },
  199. //copy path
  200. { "keys": [",","c"], "command": "copy_path" },
  201. { "keys": ["ctrl+v"], "command": "clone_file_to_pane", "args": {"direction": "right"} },
  202. // Creat New Pane and Move
  203. { "keys": ["ctrl+l"], "command": "new_pane", "args": {"move": true} },
  204.  
  205. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement