Guest User

Untitled

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