Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.62 KB | None | 0 0
  1. { "button": "scroll_up", "modifiers": ["ctrl"], "command": "scroll_lines_fixed", "args": {"by": "pages", "amount": 1.0 } },
  2. { "button": "scroll_down", "modifiers": ["ctrl"], "command": "scroll_lines_fixed", "args": {"by": "pages", "amount": -1.0 } },
  3.  
  4. ---
  5.  
  6. [
  7.  
  8. // ---------------------- temp -----------------------------
  9.  
  10. {"keys": ["ctrl+5"], "command": "generate_model_from_entity"},
  11. // {"keys": ["ctrl+\\"], "command": "next_view"},
  12.  
  13.  
  14. // ---------------------- default -----------------------------
  15.  
  16. {"keys": ["f1"], "command": "save"},
  17. {"keys": ["f2"], "command": "find_prev"},
  18. {"keys": ["f4"], "command": "close_no_save"},
  19. // {"keys": ["f7"], "command": "clone_file"},
  20. {"keys": ["f8"], "command": "toggle_setting", "args": {"setting": "word_wrap"}},
  21.  
  22. {"keys": ["ctrl+e"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"}},
  23. {"keys": ["ctrl+u"], "command": "upper_case"},
  24. {"keys": ["ctrl+l"], "command": "lower_case"},
  25. {"keys": ["ctrl+b"], "command": "toggle_side_bar"},
  26. {"keys": ["ctrl+q"], "command": "find_under_expand"},
  27. {"keys": ["ctrl+i"], "command": "reindent", "args": {"single_line": true}},
  28.  
  29. {"keys": ["ctrl+1"], "command": "toggle_comment", "args": {"block": false}},
  30. // {"keys": ["ctrl+2"], "command": "toggle_comment", "args": {"block": true}},
  31. {"keys": ["ctrl+3"], "command": "expand_selection", "args": {"to": "word"} },
  32. {"keys": ["ctrl+4"], "command": "expand_tabs", "args": {"set_translate_tabs": true}},
  33. {"keys": ["ctrl+\\"], "command": "show_panel", "args": {"panel": "console", "toggle": true}},
  34.  
  35. {"keys": ["alt+z"], "command": "exit"},
  36.  
  37.  
  38. {"keys": ["ctrl+shift+f3"], "command": "find_under_prev"},
  39.  
  40. {"keys": ["ctrl+shift+w"], "command": "close_all"},
  41. {"keys": ["ctrl+shift+m"], "command": "toggle_minimap"},
  42. {"keys": ["ctrl+shift+d"], "command": "duplicate_line"},
  43. {"keys": ["ctrl+shift+s"], "command": "save_all"},
  44. {"keys": ["ctrl+shift+u"], "command": "soft_undo"},
  45. {"keys": ["ctrl+shift+q"], "command": "find_under_expand_skip"},
  46. // {"keys": ["ctrl+shift+q"], "args": {"action": "expand_abbreviation"}, "command": "run_emmet_action", "context": [{"key": "emmet_action_enabled.expand_abbreviation"} ] },
  47. {"keys": ["ctrl+shift+j"], "command": "expand_selection", "args": {"to": "indentation"}},
  48. // {"keys": ["ctrl+shift+c"], "command": "copy_line_nofeed"},
  49. {"keys": ["ctrl+shift+b"], "command": "reveal_in_side_bar"},
  50. {"keys": ["ctrl+shift+x"], "command": "expand_selection", "args": {"to": "brackets"}},
  51. {"keys": ["ctrl+shift+z"], "command": "expand_selection", "args": {"to": "scope"}},
  52. {"keys": ["ctrl+shift+r"], "command": "side_bar_rename"},
  53. {"keys": ["alt+shift+r"], "command": "goto_symbol_in_project"},
  54.  
  55. {"keys": ["ctrl+k", "ctrl+t"], "command": "title_case"},
  56. {"keys": ["ctrl+k", "ctrl+v"], "command": "paste_from_history"},
  57.  
  58.  
  59. // ---------------------- packages/user -----------------------------
  60.  
  61. {"keys": ["f5"], "command": "run_macro_file", "args": {"file": "Packages/user-macros/paste-n-newline.sublime-macro"}},
  62. {"keys": ["f6"], "command": "open_project_in_new_window"},
  63. {"keys": ["f7"], "command": "clone_file_scroll_line"},
  64. {"keys": ["f9"], "command": "toggle_side_bar"},
  65. {"keys": ["f11"], "command": "open_file", "args": {"file": "C:/Users/rhudz/AppData/Roaming/Sublime Text 3/Packages/User/ADBView.sublime-settings"}},
  66.  
  67. // {"keys": ["ctrl+2"], "command": "dict_search"},
  68. // {"keys": ["ctrl+3"], "command": "insert_snippet","args":{"name": "Packages/user-snippets/html_comment.sublime-snippet"}},
  69. {"keys": ["ctrl+6"], "command": "insert_snippet","args":{"name": "Packages/user-snippets/jsp_comment.sublime-snippet"}},
  70.  
  71. // {"keys": ["ctrl+2"], "command": "insert_snippet", "args":{"name": "Packages/user-snippets/insert_semicolon.sublime-snippet"}},
  72. // {"keys": ["ctrl+2"], "command": "find_opened_filename_in_project"},
  73. // {"keys": ["ctrl+2"], "command": "reduce_indent"},
  74. {"keys": ["ctrl+2"], "command": "kodi_log_viewer"},
  75. // {"keys": ["ctrl+3"], "command": "insert_snippet", "args":{"name": "Packages/user-snippets/insert_colon.sublime-snippet"}},
  76.  
  77. {"keys": ["ctrl+;"], "command": "run_macro_file", "args": {"file": "Packages/user-macros/end-semicolon.sublime-macro"}},
  78. {"keys": ["ctrl+,"], "command": "run_macro_file", "args": {"file": "Packages/user-macros/end-comma.sublime-macro"}},
  79. {"keys": ["ctrl+d"], "command": "duplicate_lines"},
  80. {"keys": ["ctrl+t"], "command": "title_case_toggle"},
  81. // {"keys": ["ctrl+i"], "command": "toggle_command_mode"},
  82.  
  83. {"keys": ["ctrl+f1"], "command": "create_plugin"},
  84. {"keys": ["ctrl+f2"], "command": "generate_java_getters"},
  85. {"keys": ["ctrl+f10"], "command": "show_log_tortoise_svn"},
  86. {"keys": ["ctrl+f11"], "command": "list_projects"},
  87. {"keys": ["ctrl+f12"], "command": "amap_clear_server"},
  88.  
  89. { "keys": ["ctrl+up"], "command": "scroll_lines_fixed", "args": {"amount": 1.0 } },
  90. { "keys": ["ctrl+down"], "command": "scroll_lines_fixed", "args": {"amount": -1.0 } },
  91.  
  92. {"keys": ["alt+shift+f1"], "command": "set_tab_one"},
  93. {"keys": ["alt+shift+f2"], "command": "set_tab_two"},
  94. {"keys": ["alt+shift+f1"], "command": "unindent_one"},
  95. {"keys": ["alt+shift+f2"], "command": "indent_one"},
  96. {"keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false}},
  97. {"keys": ["alt+shift+q"], "command": "list_tabs"},
  98. {"keys": ["alt+shift+e"], "command": "show_file_path"},
  99.  
  100. {"keys": ["ctrl+shift+1"], "command": "insert_snippet","args":{"name": "Packages/user-snippets/jsp_comment.sublime-snippet"}},
  101. {"keys": ["ctrl+shift+;"], "command": "run_macro_file", "args": {"file": "Packages/user-macros/end-semicolon-newline.sublime-macro"}},
  102. {"keys": ["ctrl+shift+e"], "command": "show_file_path", "args": {"forward_separator": false}},
  103. {"keys": ["ctrl+shift+o"], "command": "open_file_by_path"},
  104. {"keys": ["ctrl+shift+space"], "command": "expand_selection_to_quotes"},
  105. {"keys": ["ctrl+alt+w"], "command": "close"},
  106. {"keys": ["ctrl+alt+right"], "command": "add_selection_aside"},
  107.  
  108. {"keys": ["ctrl+alt+shift+b"], "command": "side_bar_reveal"},
  109. {"keys": ["ctrl+alt+shift+w"], "command": "tabs_extra_close", "args": { "group": 0, "index": 0, "close_type": "other", "close_unsaved": false }},
  110.  
  111.  
  112.  
  113. // ------------------------ tests ------------------------------
  114.  
  115. {"keys": ["ctrl+alt+f"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"}},
  116. // {"keys": ["ctrl+shift+a"], "command": "test"},
  117.  
  118. // {"keys": ["f10"], "command": "run_macro_file", "args": {"file": "Packages/user-macros/remove-outer-tag.sublime-macro"}},
  119. {"keys": ["f10"], "command": "custom_open_file", "args": {"file": "C:/Users/rhudz/AppData/Roaming/Sublime Text 3/Packages/Norber Theme/Norber.sublime-theme", "line": 223}},
  120.  
  121. // {"keys": ["f10"], "command": "unindent_resursive", "args": {"tabs": false}},
  122. // {"keys": ["f10"], "command": "test"},
  123. // { "keys": ["f7"], "command": "save", "args": {"encoding": "Western (Windows 1252)" } },
  124. // {"keys": ["f7"], "command": "open_all_files"},
  125. // {"keys": ["f7"], "command": "tests_encoding"},
  126. // {"keys": ["f7"], "command": "amap_new_service_method"},
  127. // {"keys": ["f7"], "command": "list_projects"},
  128.  
  129. // {"keys": ["f10"], "command": "run_current_plugin"},
  130. // {"keys": ["f10"], "command": "generate_from_template"},
  131. // {"keys": ["f10"], "command": "generator"},
  132. // {"keys": ["f10"], "command": "generate_java_getters"},
  133.  
  134.  
  135. // ------------------------- examples --------------------------
  136.  
  137. // {"keys": ["alt+w"], "command": "tabs_extra_close", "args": { "group": 0, "index": 0, "close_type": "other", "close_unsaved": false }},
  138.  
  139. // {"keys": ["ctrl+shift+3"], "command": "custom_open_file", "args": {"file": "conf.xml", "line": 223}},
  140. // {"keys": ["ctrl+shift+4"], "command": "wrap_urls_lastname"},
  141. // {"keys": ["ctrl+shift+5"], "command": "wrap_urls_title"},
  142. // {"keys": ["ctrl+shift+6"], "command": "rename_files_from_list"},
  143.  
  144. // {"keys": ["ctrl+f1"], "command": "url_from_title"},
  145. // {"keys": ["ctrl+6"], "command": "replace_current_line"},
  146.  
  147. // {"keys": ["f2"], "command": "expand_tabs", "args": {"set_translate_tabs": true}},
  148. // {"keys": ["ctrl+1"], "command": "replace_next"},
  149.  
  150. // {"keys": ["p","p"], "command": "duplicate_lines",
  151. // "context":[
  152. // { "key": "setting.custom_command_mode", "operator": "equal", "operand": true}
  153. // ]
  154. // },
  155.  
  156. // { "keys": ["("], "command": "insert_snippet", "args": {"contents": "($0)"}, "context":
  157. // [
  158. // { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true},
  159. // { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true }
  160. // ]
  161. // },
  162.  
  163. // { "keys": ["("], "command": "insert_snippet", "args": {"contents": "(${0:$SELECTION})"}, "context":
  164. // [
  165. // { "key": "setting.auto_match_enabled", "operator": "equal", "operand": false},
  166. // { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
  167. // ]
  168. // },
  169. // { "keys": [")"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
  170. // [
  171. // { "key": "setting.auto_match_enabled", "operator": "equal", "operand": false},
  172. // { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true},
  173. // { "key": "following_text", "operator": "regex_contains", "operand": "^\\)", "match_all": true }
  174. // ]
  175. // },
  176.  
  177. // {"keys": ["ctrl+e"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"}},
  178.  
  179. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement