summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules48
m---------CaseConversion0
m---------Dictionaries0
-rw-r--r--JavaScript/Snippets/Get-Elements.sublime-snippet3
-rw-r--r--JavaScript/Snippets/Object-Method.sublime-snippet3
-rw-r--r--JavaScript/Snippets/Object-Value-JS.sublime-snippet3
-rw-r--r--JavaScript/Snippets/Object-key-key-value.sublime-snippet3
-rw-r--r--JavaScript/Snippets/Prototype-(proto).sublime-snippet3
-rw-r--r--JavaScript/Snippets/for-()-{}-(faster).sublime-snippet3
-rw-r--r--JavaScript/Snippets/for-()-{}.sublime-snippet3
-rw-r--r--JavaScript/Snippets/function-(fun).sublime-snippet3
-rw-r--r--JavaScript/Snippets/function.sublime-snippet3
-rw-r--r--JavaScript/Snippets/if-___-else.sublime-snippet3
-rw-r--r--JavaScript/Snippets/if.sublime-snippet3
-rw-r--r--JavaScript/Snippets/setTimeout-function.sublime-snippet3
m---------SqlBeautifier0
m---------Sublime-Missing-Palette-Commands0
m---------SublimeCalculate0
m---------SublimeCodeIntel0
m---------SublimeExternalCommand0
m---------SublimeFileDiffs0
m---------SublimeMarkAndMove0
m---------SublimeText-SQLTools0
-rw-r--r--User/CREATE TABLE.sublime-snippet11
-rw-r--r--User/Default (Linux).sublime-keymap80
-rw-r--r--User/Default (Linux).sublime-mousemap20
-rw-r--r--User/DeleteToNextBrace.sublime-macro28
-rw-r--r--User/FileDiffs.sublime-settings3
-rw-r--r--User/Lua.sublime-settings5
-rw-r--r--User/MyPaletteExtensions.sublime-commands20
-rw-r--r--User/Preferences.sublime-settings69
-rw-r--r--User/Python.sublime-settings5
-rw-r--r--User/Ruby.sublime-settings5
-rwxr-xr-xUser/TabsExtra/Tab Context.sublime-menu75
-rw-r--r--User/XML.sublime-settings5
-rw-r--r--User/YAML.sublime-settings5
-rw-r--r--User/attention-block.sublime-snippet11
-rw-r--r--User/breakstring-lua-dblquot.sublime-snippet9
-rw-r--r--User/breakstring-lua-singlequot.sublime-snippet9
-rw-r--r--User/bustedit.sublime-snippet11
-rw-r--r--User/color_helper.palettes6
-rw-r--r--User/copy_pos.py13
-rw-r--r--User/dont_commit.sublime-snippet9
-rw-r--r--User/expand_to_end_of_scope.py12
-rw-r--r--User/flip_selections.py9
-rw-r--r--User/fold_selections.py8
-rw-r--r--User/foreachown-js.sublime-snippet11
-rw-r--r--User/get_to_var.sublime-macro100
-rw-r--r--User/insert_date.sublime-settings3
-rw-r--r--User/isset.sublime-snippet11
-rw-r--r--User/joinon.sublime-snippet9
-rw-r--r--User/js-eacharray.sublime-snippet9
-rw-r--r--User/lua-class.sublime-snippet17
-rw-r--r--User/lua-lfun.sublime-snippet11
-rw-r--r--User/lua-local.sublime-snippet9
-rw-r--r--User/lua-module.sublime-snippet15
-rw-r--r--User/lua-rq.sublime-snippet9
-rw-r--r--User/lua_lambda.sublime-snippet11
-rw-r--r--User/mk.sublime-build4
-rw-r--r--User/mystuff-todo-clike.sublime-snippet9
-rw-r--r--User/mystuff-todo-sqllike.sublime-snippet9
-rw-r--r--User/newblock-eol.sublime-macro31
-rw-r--r--User/newblock-lua.sublime-macro31
-rw-r--r--User/newblock-nextline.sublime-macro31
-rw-r--r--User/nocommit-lua.sublime-snippet9
-rw-r--r--User/paste_separated.py7
-rw-r--r--User/select_only_unique.py20
-rw-r--r--User/semicolon-eol.sublime-macro17
-rw-r--r--User/this.sublime-snippet9
m---------WordHighlight0
m---------awk-sublime0
m---------base16-textmate0
-rw-r--r--install-aux.sh3
m---------sublime-expand-region0
m---------sublimeBookmark0
m---------sublime_alignment0
m---------sublime_indent_and_braces0
m---------sublime_jump_along_indent0
78 files changed, 907 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..5cac976
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,48 @@
+[submodule "SublimeCodeIntel"]
+ path = SublimeCodeIntel
+ url = git://github.com/SublimeCodeIntel/SublimeCodeIntel.git
+[submodule "sublime_alignment"]
+ path = sublime_alignment
+ url = https://github.com/wbond/sublime_alignment.git
+[submodule "awk-sublime"]
+ path = awk-sublime
+ url = https://github.com/JohnNilsson/awk-sublime
+[submodule "SublimeCalculate"]
+ path = SublimeCalculate
+ url = https://github.com/colinta/SublimeCalculate
+[submodule "CaseConversion"]
+ path = CaseConversion
+ url = https://github.com/jdavisclark/CaseConversion
+[submodule "sublime-expand-region"]
+ path = sublime-expand-region
+ url = https://github.com/aronwoost/sublime-expand-region.git
+[submodule "SublimeFileDiffs"]
+ path = SublimeFileDiffs
+ url = https://github.com/colinta/SublimeFileDiffs.git
+[submodule "sublime_indent_and_braces"]
+ path = sublime_indent_and_braces
+ url = https://github.com/Epskampie/sublime_indent_and_braces
+[submodule "sublime_jump_along_indent"]
+ path = sublime_jump_along_indent
+ url = https://github.com/mwean/sublime_jump_along_indent.git
+[submodule "SublimeMarkAndMove"]
+ path = SublimeMarkAndMove
+ url = https://github.com/colinta/SublimeMarkAndMove.git
+[submodule "Sublime-Missing-Palette-Commands"]
+ path = Sublime-Missing-Palette-Commands
+ url = https://github.com/fjl/Sublime-Missing-Palette-Commands.git
+[submodule "WordHighlight"]
+ path = WordHighlight
+ url = git://github.com/SublimeText/WordHighlight.git
+[submodule "sublimeBookmark"]
+ path = sublimeBookmark
+ url = https://github.com/bollu/sublimeBookmark.git
+[submodule "SublimeText-SQLTools"]
+ path = SublimeText-SQLTools
+ url = https://github.com/mtxr/SublimeText-SQLTools.git
+[submodule "SqlBeautifier"]
+ path = SqlBeautifier
+ url = https://github.com/zsong/SqlBeautifier.git
+[submodule "base16-textmate"]
+ path = base16-textmate
+ url = https://github.com/chriskempson/base16-textmate.git
diff --git a/CaseConversion b/CaseConversion
new file mode 160000
+Subproject 457da2617c4d6dff060c0e31b124d6699cbcac5
diff --git a/Dictionaries b/Dictionaries
new file mode 160000
+Subproject 8f0340145fb0f7ce96b05623b100f85b1c6ad3f
diff --git a/JavaScript/Snippets/Get-Elements.sublime-snippet b/JavaScript/Snippets/Get-Elements.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/Get-Elements.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/Object-Method.sublime-snippet b/JavaScript/Snippets/Object-Method.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/Object-Method.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/Object-Value-JS.sublime-snippet b/JavaScript/Snippets/Object-Value-JS.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/Object-Value-JS.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/Object-key-key-value.sublime-snippet b/JavaScript/Snippets/Object-key-key-value.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/Object-key-key-value.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/Prototype-(proto).sublime-snippet b/JavaScript/Snippets/Prototype-(proto).sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/Prototype-(proto).sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/for-()-{}-(faster).sublime-snippet b/JavaScript/Snippets/for-()-{}-(faster).sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/for-()-{}-(faster).sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/for-()-{}.sublime-snippet b/JavaScript/Snippets/for-()-{}.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/for-()-{}.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/function-(fun).sublime-snippet b/JavaScript/Snippets/function-(fun).sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/function-(fun).sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/function.sublime-snippet b/JavaScript/Snippets/function.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/function.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/if-___-else.sublime-snippet b/JavaScript/Snippets/if-___-else.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/if-___-else.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/if.sublime-snippet b/JavaScript/Snippets/if.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/if.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/JavaScript/Snippets/setTimeout-function.sublime-snippet b/JavaScript/Snippets/setTimeout-function.sublime-snippet
new file mode 100644
index 0000000..178f9c5
--- /dev/null
+++ b/JavaScript/Snippets/setTimeout-function.sublime-snippet
@@ -0,0 +1,3 @@
+<snippet>
+ <content><![CDATA[$1]]></content>
+</snippet> \ No newline at end of file
diff --git a/SqlBeautifier b/SqlBeautifier
new file mode 160000
+Subproject ba9f21c3cecfa3e44d1ca471f423c1a468e1859
diff --git a/Sublime-Missing-Palette-Commands b/Sublime-Missing-Palette-Commands
new file mode 160000
+Subproject 340a622f22bb9328bec41e7e5cb8c2d17d3d1c2
diff --git a/SublimeCalculate b/SublimeCalculate
new file mode 160000
+Subproject 779af07491317f6e1497803e884b67dd3690b05
diff --git a/SublimeCodeIntel b/SublimeCodeIntel
new file mode 160000
+Subproject 904e14f95b1a8d1d795f76d80f6a79d0edfc17c
diff --git a/SublimeExternalCommand b/SublimeExternalCommand
new file mode 160000
+Subproject 7e78bcdc88a69ef9bbf59b154f901eb5c8d4270
diff --git a/SublimeFileDiffs b/SublimeFileDiffs
new file mode 160000
+Subproject 4a5a845c90cfb32260f4ad30a10822c84698f3a
diff --git a/SublimeMarkAndMove b/SublimeMarkAndMove
new file mode 160000
+Subproject 9fba4a01bddd1a6960cb6244262c3142ccf48fb
diff --git a/SublimeText-SQLTools b/SublimeText-SQLTools
new file mode 160000
+Subproject 70567caa8a50fc8e1db14007627e73a3ed8b766
diff --git a/User/CREATE TABLE.sublime-snippet b/User/CREATE TABLE.sublime-snippet
new file mode 100644
index 0000000..cbeab61
--- /dev/null
+++ b/User/CREATE TABLE.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+CREATE TABLE IF NOT EXISTS ${1:table} (
+ ${2:field...}
+) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>CREATETABLE</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.sql</scope>
+</snippet>
diff --git a/User/Default (Linux).sublime-keymap b/User/Default (Linux).sublime-keymap
new file mode 100644
index 0000000..32d4193
--- /dev/null
+++ b/User/Default (Linux).sublime-keymap
@@ -0,0 +1,80 @@
+[
+ { "keys": ["ctrl+i"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
+ { "keys": ["ctrl+^"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
+ { "keys": ["f12"], "command": "toggle_record_macro" },
+ { "keys": ["shift+f12"], "command": "run_macro" },
+ { "keys": ["ctrl+space"], "command": "auto_complete" },
+ { "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
+ [
+ { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
+ { "key": "auto_complete_visible", "operator": "equal", "operand": false },
+ { "key": "setting.tab_completion", "operator": "equal", "operand": true }
+ ]
+ },
+ { "keys": ["f2"], "command": "side_bar_rename" },
+ { "keys": ["f10"], "command": "filter_through_command" },
+ { "keys": ["ctrl+k", "ctrl+c"], "command": "show_at_center" },
+ { "keys": ["ctrl+u"], "command": "soft_undo" },
+ { "keys": ["ctrl+shift+u"], "command": "soft_redo" },
+ { "keys": ["ctrl+q"], "command": "unbound" },
+ { "keys": ["ctrl+shift+q", "ctrl+shift+q"], "command": "exit" },
+ { "keys": ["ctrl+shift+e"], "command": "xdebug_evaluate" },
+ { "keys": ["ctrl+f2"], "command": "sublime_bookmark", "args": {"type": "toggle_line"}},
+ { "keys": ["shift+f2"], "command": "sublime_bookmark", "args": {"type": "goto_next"}},
+ { "keys": ["ctrl+shift+f2"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "SublimeBookmarks: "}},
+ { "keys": ["ctrl+shift+ß"], "command": "goto_python_definition"},
+ { "keys": ["ctrl+shift+g"], "command": "goto_definition" },
+ { "keys": ["ctrl+shift+b"], "command": "jump_back" },
+ { "keys": ["ctrl+ü"], "command": "goto_symbol_in_project" },
+ { "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": false } },
+ { "keys": ["alt+d"], "command": "go_to_file" },
+ { "keys": ["ctrl+,", "ctrl+,"], "command": "mark_and_move_do_it_all" },
+ { "keys": ["ctrl+,", ","], "command": "mark_and_move_do_it_all" },
+ { "keys": ["ctrl+,", "s"], "command": "mark_and_move_save" },
+ { "keys": ["ctrl+,", "tab"], "command": "mark_and_move_next" },
+ { "keys": ["ctrl+,", "shift+tab"], "command": "mark_and_move_prev" },
+ { "keys": ["ctrl+,", "r"], "command": "mark_and_move_recall" },
+ { "keys": ["ctrl+,", "c"], "command": "mark_and_move_clear" },
+ { "keys": ["ctrl+shift+m"], "command": "expand_selection", "args": {"to": "brackets"} },
+ { "keys": ["ctrl+m"], "command": "move_to", "args": {"to": "brackets"} },
+ { "keys": ["shift+insert"], "command": "paste", "args": {"clipboard": "selection"} },
+ { "keys": ["shift+delete"], "command": "right_delete" },
+ { "keys": ["ctrl+k", "tab"], "command": "reindent" },
+ { "keys": ["ctrl+up"], "command": "select_lines", "args": {"forward": false} },
+ { "keys": ["ctrl+down"], "command": "select_lines", "args": {"forward": true} },
+ { "keys": ["alt+f"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false} },
+ { "keys": ["alt+shift+f"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": true} },
+ { "keys": ["ctrl+shift+n"], "command": "expand_region" },
+ {
+ "keys": ["ctrl+k", "ctrl+shift+n"],
+ "command": "expand_region",
+ "args": {"undo": true},
+ "context": [{ "key": "expand_region_soft_undo" }]
+ },
+ { "keys": ["ctrl+k", "ctrl+f"], "command": "flip_selections"},
+ { "keys": ["ctrl+k", "ctrl+s"], "command": "rexx_string_lookup"},
+ { "keys": ["ctrl+k", "{"], "command": "indent_and_braces", "args": { "opening_brace": "{", "closing_brace": "}" } },
+ { "keys": ["ctrl+k", "["], "command": "indent_and_braces", "args": { "opening_brace": "[", "closing_brace": "]" } },
+ { "keys": ["ctrl+k", "("], "command": "indent_and_braces", "args": { "opening_brace": "(", "closing_brace": ")" } },
+ { "keys": ["ctrl+k", "end"], "command": "move_to", "args": {"to": "hardeol", "extend": false}},
+ { "keys": ["ctrl+k", "home"], "command": "move_to", "args": {"to": "hardbol", "extend": false}},
+ { "keys": ["ctrl+k", "enter"], "command": "run_macro_file", "args": {"file": "Packages/User/newblock-eol.sublime-macro"}},
+ { "keys": ["ctrl+k", "ctrl+enter"], "command": "run_macro_file", "args": {"file": "Packages/User/newblock-nextline.sublime-macro"}},
+ { "keys": ["ctrl+k", "enter"], "command": "run_macro_file", "args": {"file": "Packages/User/newblock-lua.sublime-macro"}, "context":
+ [
+ {"key": "selector", "operator": "equal", "operand": "source.lua"}
+ ]
+ },
+ { "keys": ["ctrl+k", "enter"], "command": "run_macro_file", "args": {"file": "Packages/User/newblock-lua.sublime-macro"}, "context":
+ [
+ {"key": "selector", "operator": "equal", "operand": "source.luae"}
+ ]
+ },
+ { "keys": ["alt+up"], "command": "jump_prev_indent" },
+ { "keys": ["alt+shift+up"], "command": "jump_prev_indent", "args": { "extend_selection": true} },
+ { "keys": ["alt+down"], "command": "jump_next_indent" },
+ { "keys": ["alt+shift+down"], "command": "jump_next_indent", "args": { "extend_selection": true} },
+ { "keys": ["alt+left"], "command": "jump_prev_indent", "args": {"indent_offset": -1} },
+ { "keys": ["alt+right"], "command": "jump_next_indent", "args": {"indent_offset": -1} },
+ { "keys": ["ctrl+shift+,"], "command": "run_macro_file", "args": {"file": "Packages/User/semicolon-eol.sublime-macro"}},
+]
diff --git a/User/Default (Linux).sublime-mousemap b/User/Default (Linux).sublime-mousemap
new file mode 100644
index 0000000..813f061
--- /dev/null
+++ b/User/Default (Linux).sublime-mousemap
@@ -0,0 +1,20 @@
+[
+ { "button": "button8", "command": "jump_back" },
+ {
+ "button": "button9",
+ "count": 1,
+ "press_command": "drag_select",
+ "command": "goto_definition"
+ },
+ {
+ "button": "button9",
+ "count": 1,
+ "modifiers": ["ctrl"],
+ "press_command": "drag_select",
+ "command": "goto_python_definition"
+ },
+
+ // History
+ { "button": "scroll_right", "modifiers": ["ctrl"], "command": "undo" },
+ { "button": "scroll_left", "modifiers": ["ctrl"], "command": "redo" }
+]
diff --git a/User/DeleteToNextBrace.sublime-macro b/User/DeleteToNextBrace.sublime-macro
new file mode 100644
index 0000000..b811ad5
--- /dev/null
+++ b/User/DeleteToNextBrace.sublime-macro
@@ -0,0 +1,28 @@
+[
+ {
+ "args": null,
+ "command": "set_mark"
+ },
+ {
+ "args":
+ {
+ "to": "brackets"
+ },
+ "command": "move_to"
+ },
+ {
+ "args": null,
+ "command": "select_to_mark"
+ },
+ {
+ "args": null,
+ "command": "left_delete"
+ },
+ {
+ "args":
+ {
+ "name": "mark"
+ },
+ "command": "clear_bookmarks"
+ }
+]
diff --git a/User/FileDiffs.sublime-settings b/User/FileDiffs.sublime-settings
new file mode 100644
index 0000000..d4ea5a3
--- /dev/null
+++ b/User/FileDiffs.sublime-settings
@@ -0,0 +1,3 @@
+{
+ "cmd": ["meld", "$file1", "$file2"]
+} \ No newline at end of file
diff --git a/User/Lua.sublime-settings b/User/Lua.sublime-settings
new file mode 100644
index 0000000..0827917
--- /dev/null
+++ b/User/Lua.sublime-settings
@@ -0,0 +1,5 @@
+// These settings override both User and Default settings for the Lua syntax
+{
+ "tab_size": 2,
+ "translate_tabs_to_spaces": true
+}
diff --git a/User/MyPaletteExtensions.sublime-commands b/User/MyPaletteExtensions.sublime-commands
new file mode 100644
index 0000000..9fa4027
--- /dev/null
+++ b/User/MyPaletteExtensions.sublime-commands
@@ -0,0 +1,20 @@
+[
+ {"caption": "Filter Through Command", "command": "filter_through_command"},
+ {"caption": "Save as ISO 8859-1", "command": "save", "args": {"encoding": "Western (ISO 8859-1)"} },
+ {"caption": "Refresh folder list", "command": "refresh_folder_list"},
+ {"caption": "Delete to next brace", "command": "run_macro_file", "args": {"file": "Packages/User/DeleteToNextBrace.sublime-macro"}},
+ {"caption": "Getter call result to var", "command": "run_macro_file", "args": {"file": "Packages/User/get_to_var.sublime-macro"}},
+ {"caption": "Insert Date (YMDHMS)", "command": "insert_date", "args": {"format": "%Y-%m-%d %H:%M:%S"} },
+ {"caption": "Copy current position", "command": "copy_pos"},
+ {"caption": "Fold selections", "command": "fold_selections"},
+ {"caption": "Select only unique", "command": "select_only_unique"},
+ {"caption": "Paste separated", "command": "paste_separated"},
+ {"caption": "Expand to Begin of scope", "command": "expand_to_end_of_scope", "args": {"begin": true}},
+ {"caption": "Expand to End of scope", "command": "expand_to_end_of_scope"},
+ {"caption": "Calculate & replace", "command": "calculate", "args": {"replace": true}},
+ {"caption": "Compare with clipboard", "command": "file_diff_clipboard"},
+ {"caption": "Compare selections", "command": "file_diff_selections"},
+ {"caption": "Compare with file", "command": "file_diff_file"},
+ {"caption": "Compare with tab", "command": "file_diff_tab"},
+ {"caption": "Compare with previous file", "command": "file_diff_previous"}
+]
diff --git a/User/Preferences.sublime-settings b/User/Preferences.sublime-settings
new file mode 100644
index 0000000..1c471d9
--- /dev/null
+++ b/User/Preferences.sublime-settings
@@ -0,0 +1,69 @@
+{
+ "added_words":
+ [
+ "bearbeitbar"
+ ],
+ "alignment_chars":
+ [
+ "=",
+ ",",
+ "(",
+ ")",
+ " "
+ ],
+ "always_show_minimap_viewport": true,
+ "auto_complete_commit_on_tab": true,
+ "auto_indent": true,
+ "auto_match_enabled": true,
+ "caret_extra_bottom": 1,
+ "caret_extra_top": 1,
+ "caret_extra_width": 1,
+ "caret_style": "blink",
+ "color_scheme": "Packages/base16-textmate/Themes/base16-eighties.tmTheme",
+ "detect_indentation": false,
+ "dictionary": "Packages/Language - English/en_US.dic",
+ "draw_minimap_border": false,
+ "enable_tab_scrolling": false,
+ "ensure_newline_at_eof_on_save": true,
+ "figlet_font": "1943____",
+ "font_face": "DejaVu Sans Mono",
+ "font_options":
+ [
+ "gray_antialias"
+ ],
+ "font_size": 11,
+ "highlight_line": true,
+ "highlight_modified_tab": true,
+ "highlight_modified_tabs": true,
+ "ignored_packages":
+ [
+ "0_package_control_loader",
+ "SideBarEnhancements",
+ "Vintage",
+ "Vintageous",
+ "WordHighlight",
+ "Xdebug Client"
+ ],
+ "indent_guide_options":
+ [
+ "draw_normal",
+ "draw_active"
+ ],
+ "match_brackets": true,
+ "match_brackets_content": true,
+ "match_selection": true,
+ "material_theme_small_tab": true,
+ "rulers":
+ [
+ 80,
+ 120
+ ],
+ "save_on_focus_lost": true,
+ "scroll_speed": 2,
+ "tab_completion": true,
+ "theme": "Adaptive.sublime-theme",
+ "translate_tabs_to_spaces": true,
+ "trim_automatic_white_space": true,
+ "trim_trailing_white_space_on_save": true,
+ "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?"
+}
diff --git a/User/Python.sublime-settings b/User/Python.sublime-settings
new file mode 100644
index 0000000..c9fb4e6
--- /dev/null
+++ b/User/Python.sublime-settings
@@ -0,0 +1,5 @@
+{
+ "extensions":
+ [
+ ]
+}
diff --git a/User/Ruby.sublime-settings b/User/Ruby.sublime-settings
new file mode 100644
index 0000000..c9fb4e6
--- /dev/null
+++ b/User/Ruby.sublime-settings
@@ -0,0 +1,5 @@
+{
+ "extensions":
+ [
+ ]
+}
diff --git a/User/TabsExtra/Tab Context.sublime-menu b/User/TabsExtra/Tab Context.sublime-menu
new file mode 100755
index 0000000..5c525f4
--- /dev/null
+++ b/User/TabsExtra/Tab Context.sublime-menu
@@ -0,0 +1,75 @@
+[
+ { "caption": "-"},
+
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "left" }, "caption": "Close Tabs to the Left" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "all" }, "caption": "Close All Tabs" },
+ {
+ "caption": "Close Tabs(s) - Skip Unsaved",
+ "children":
+ [
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "single", "close_unsaved": false }, "caption": "Close" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "other", "close_unsaved": false }, "caption": "Close Other Tabs" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "right", "close_unsaved": false }, "caption": "Close Tabs to the Right" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "left", "close_unsaved": false }, "caption": "Close Tabs to the Left" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "all", "close_unsaved": false }, "caption": "Close All Tabs" }
+ ]
+ },
+ {
+ "caption": "Close Tabs(s) - Dismiss Unsaved",
+ "children":
+ [
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "single", "unsaved_prompt": false }, "caption": "Close" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "other", "unsaved_prompt": false }, "caption": "Close Other Tabs" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "right", "unsaved_prompt": false }, "caption": "Close Tabs to the Right" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "left", "unsaved_prompt": false }, "caption": "Close Tabs to the Left" },
+ { "command": "tabs_extra_close", "args": { "group": -1, "index": -1, "close_type": "all", "unsaved_prompt": false }, "caption": "Close All Tabs" }
+ ]
+ },
+ { "caption": "-" },
+ { "command": "tabs_extra_toggle_sticky", "args": { "group": -1, "index": -1 }, "caption": "Sticky Tab" },
+ { "command": "tabs_extra_clear_all_sticky", "args": { "group": -1, "force": true }, "caption": "Clear All Sticky Tabs" },
+ { "caption": "-" },
+
+ { "command": "reopen_last_file", "caption": "Reopen Last Tab" },
+ { "caption": "-" },
+ { "command": "tabs_extra_view_wrapper", "args": {"group": -1, "index": -1, "command": "clone_file"}, "caption": "Clone" },
+ { "caption": "-" },
+ { "command": "tabs_extra_view_wrapper", "args": {"group": -1, "index": -1, "command": "save"}, "caption": "Save" },
+ { "command": "tabs_extra_view_wrapper", "args": {"group": -1, "index": -1, "command": "prompt_save_as"}, "caption": "Save As…" },
+ { "command": "save_all", "caption": "Save All" },
+ { "caption": "-" },
+ { "command": "tabs_extra_delete", "args": {"group": -1, "index": -1}, "caption": "Delete File" },
+ { "caption": "-" },
+ { "command": "tabs_extra_rename", "args": {"group": -1, "index": -1}, "caption": "Rename…" },
+ { "command": "tabs_extra_move", "args": {"group": -1, "index": -1}, "caption": "Move…" },
+ { "command": "tabs_extra_duplicate", "args": {"group": -1, "index": -1}, "caption": "Duplicate…" },
+ { "caption": "-" },
+ { "command": "tabs_extra_file", "args": {"group": -1, "index": -1, "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}}, "caption": "Open Containing Folder…" },
+ { "command": "tabs_extra_file", "args": {"group": -1, "index": -1, "command": "reveal_in_side_bar"}, "caption": "Reveal in Side Bar" },
+ {
+ "caption": "Copy File Path",
+ "children":
+ [
+ { "command": "tabs_extra_file_path", "args": {"group": -1, "index": -1, "path_type": "path"}, "caption": "Full Path" },
+ { "command": "tabs_extra_file_path", "args": {"group": -1, "index": -1, "path_type": "name"}, "caption": "File Name" }
+ ]
+ },
+ { "caption": "-" },
+ { "command": "tabs_extra_revert", "args": {"group": -1, "index": -1, "command": "revert"}, "caption": "Revert File" },
+ { "caption": "-" },
+ {
+ "caption": "Sort Tabs By…",
+ "children":
+ [
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.name", "reverse": false}, "caption": "Name" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.path", "reverse": false}, "caption": "Path" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.modified", "reverse": false}, "caption": "Modified" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.created", "reverse": false}, "caption": "Created" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.type", "reverse": false}, "caption": "Extension" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.size", "reverse": false}, "caption": "Size" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.activated", "reverse": false}, "caption": "Last Activated" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.syntax", "reverse": false}, "caption": "Syntax" },
+ { "command": "tabs_extra_sort", "args": {"group": -1, "sort_by": "TabsExtra.sort.reverse", "reverse": false}, "caption": "Reverse Order" }
+ ]
+ }
+]
diff --git a/User/XML.sublime-settings b/User/XML.sublime-settings
new file mode 100644
index 0000000..c9fb4e6
--- /dev/null
+++ b/User/XML.sublime-settings
@@ -0,0 +1,5 @@
+{
+ "extensions":
+ [
+ ]
+}
diff --git a/User/YAML.sublime-settings b/User/YAML.sublime-settings
new file mode 100644
index 0000000..c9fb4e6
--- /dev/null
+++ b/User/YAML.sublime-settings
@@ -0,0 +1,5 @@
+{
+ "extensions":
+ [
+ ]
+}
diff --git a/User/attention-block.sublime-snippet b/User/attention-block.sublime-snippet
new file mode 100644
index 0000000..9b4325b
--- /dev/null
+++ b/User/attention-block.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+-- !!${2/./!/g}${1/./!/g}${2/./!/g}!!
+-- !!${2: }${1:text}${2: }!!
+-- !!${2/./!/g}${1/./!/g}${2/./!/g}!!
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>--!</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <!-- <scope>source.python</scope> -->
+</snippet>
diff --git a/User/breakstring-lua-dblquot.sublime-snippet b/User/breakstring-lua-dblquot.sublime-snippet
new file mode 100644
index 0000000..12d07b7
--- /dev/null
+++ b/User/breakstring-lua-dblquot.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+" .. ${1:} .. "
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>..</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>string.quoted.double.lua</scope>
+</snippet>
diff --git a/User/breakstring-lua-singlequot.sublime-snippet b/User/breakstring-lua-singlequot.sublime-snippet
new file mode 100644
index 0000000..68bc282
--- /dev/null
+++ b/User/breakstring-lua-singlequot.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+' .. ${1:} .. '
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>..</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>string.quoted.single.lua</scope>
+</snippet>
diff --git a/User/bustedit.sublime-snippet b/User/bustedit.sublime-snippet
new file mode 100644
index 0000000..913518b
--- /dev/null
+++ b/User/bustedit.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+it("${1:describes a test}", function ()
+ ${2:-- ...}
+end)
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>bustedit</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua,source.luae</scope>
+</snippet>
diff --git a/User/color_helper.palettes b/User/color_helper.palettes
new file mode 100644
index 0000000..16818a2
--- /dev/null
+++ b/User/color_helper.palettes
@@ -0,0 +1,6 @@
+{
+ "favorites":
+ [
+ "#ba8baf"
+ ]
+}
diff --git a/User/copy_pos.py b/User/copy_pos.py
new file mode 100644
index 0000000..bda3654
--- /dev/null
+++ b/User/copy_pos.py
@@ -0,0 +1,13 @@
+import os.path
+import sublime
+import sublime_plugin
+
+
+class CopyPosCommand(sublime_plugin.TextCommand):
+ def run(self, edit):
+ try:
+ project_path = self.view.window().extract_variables().get("project_path", "")
+ line, _ = self.view.rowcol(next(iter(self.view.sel())).begin())
+ sublime.set_clipboard("{}:{}".format(os.path.relpath(self.view.file_name(), project_path), line+1))
+ except StopIteration:
+ pass
diff --git a/User/dont_commit.sublime-snippet b/User/dont_commit.sublime-snippet
new file mode 100644
index 0000000..8c5a586
--- /dev/null
+++ b/User/dont_commit.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+/* \mystuff\dont_commit */
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>dc!</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.php</scope>
+</snippet>
diff --git a/User/expand_to_end_of_scope.py b/User/expand_to_end_of_scope.py
new file mode 100644
index 0000000..0498753
--- /dev/null
+++ b/User/expand_to_end_of_scope.py
@@ -0,0 +1,12 @@
+import sublime
+import sublime_plugin
+
+
+class ExpandToEndOfScopeCommand(sublime_plugin.TextCommand):
+ def run(self, edit, begin=False):
+ newsels = []
+ for s in self.view.sel():
+ scope = self.view.extract_scope(s.a)
+ newsels.append(sublime.Region(scope.begin(), s.end()) if begin else sublime.Region(s.begin(), scope.end()))
+
+ self.view.sel().add_all(newsels)
diff --git a/User/flip_selections.py b/User/flip_selections.py
new file mode 100644
index 0000000..1651c44
--- /dev/null
+++ b/User/flip_selections.py
@@ -0,0 +1,9 @@
+import sublime
+import sublime_plugin
+
+class FlipSelectionsCommand(sublime_plugin.TextCommand):
+ def run(self, edit):
+ sel = self.view.sel()
+ new_regions = map(lambda r: sublime.Region(r.b, r.a), sel)
+ for r in new_regions:
+ sel.add(r)
diff --git a/User/fold_selections.py b/User/fold_selections.py
new file mode 100644
index 0000000..9a82b4d
--- /dev/null
+++ b/User/fold_selections.py
@@ -0,0 +1,8 @@
+import sublime
+import sublime_plugin
+
+
+class FoldSelectionsCommand(sublime_plugin.TextCommand):
+ def run(self, edit):
+ for r in self.view.sel():
+ self.view.fold(r)
diff --git a/User/foreachown-js.sublime-snippet b/User/foreachown-js.sublime-snippet
new file mode 100644
index 0000000..3049fed
--- /dev/null
+++ b/User/foreachown-js.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+for (${3:let} ${2:key} in ${1:obj}) if (${1:obj}.hasOwnProperty(${2:key})) {
+ ${5:${3:let} ${4:val} = ${1:obj}[${2:key}];}
+}
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>foreachown</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.js</scope>
+</snippet>
diff --git a/User/get_to_var.sublime-macro b/User/get_to_var.sublime-macro
new file mode 100644
index 0000000..285214c
--- /dev/null
+++ b/User/get_to_var.sublime-macro
@@ -0,0 +1,100 @@
+[
+ {
+ "args":
+ {
+ "by": "characters",
+ "forward": false
+ },
+ "command": "move"
+ },
+ {
+ "args":
+ {
+ "by": "words",
+ "extend": true,
+ "forward": false
+ },
+ "command": "move"
+ },
+ {
+ "args": null,
+ "command": "copy"
+ },
+ {
+ "args":
+ {
+ "extend": false,
+ "to": "bol"
+ },
+ "command": "move_to"
+ },
+ {
+ "args": null,
+ "command": "paste"
+ },
+ {
+ "args":
+ {
+ "characters": " "
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "characters": "="
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "characters": " "
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "extend": false,
+ "to": "bol"
+ },
+ "command": "move_to"
+ },
+ {
+ "args": null,
+ "command": "right_delete"
+ },
+ {
+ "args": null,
+ "command": "right_delete"
+ },
+ {
+ "args": null,
+ "command": "right_delete"
+ },
+ {
+ "args":
+ {
+ "characters": "$"
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "by": "word_ends",
+ "extend": true,
+ "forward": true
+ },
+ "command": "move"
+ },
+ {
+ "args": null,
+ "command": "trim_trailing_white_space"
+ },
+ {
+ "args": null,
+ "command": "convert_to_snake"
+ }
+]
diff --git a/User/insert_date.sublime-settings b/User/insert_date.sublime-settings
new file mode 100644
index 0000000..d43edfe
--- /dev/null
+++ b/User/insert_date.sublime-settings
@@ -0,0 +1,3 @@
+{
+ "tz_in": "Europe/Berlin"
+}
diff --git a/User/isset.sublime-snippet b/User/isset.sublime-snippet
new file mode 100644
index 0000000..7b13ffe
--- /dev/null
+++ b/User/isset.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <!-- Example: Hello, ${1:this} is a ${2:snippet}. -->
+ <content><![CDATA[
+isset(${1:\$foo}) ? ${1:\$foo} : ${2:null}
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>isset?</tabTrigger>
+ <description>if isset x then x else y</description>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.php</scope>
+</snippet>
diff --git a/User/joinon.sublime-snippet b/User/joinon.sublime-snippet
new file mode 100644
index 0000000..ba15574
--- /dev/null
+++ b/User/joinon.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <!-- Example: Hello, ${1:this} is a ${2:snippet}. -->
+ <content><![CDATA[
+${1:ON} ${2:A}.${3:field} = ${4:B}.${5:${3:field}}
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>ON=</tabTrigger>
+ <description>ON join condition</description>
+</snippet>
diff --git a/User/js-eacharray.sublime-snippet b/User/js-eacharray.sublime-snippet
new file mode 100644
index 0000000..7cade49
--- /dev/null
+++ b/User/js-eacharray.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+for (${1:var i} = 0; ${1/(var|let|const) //} < ${2:l}.length; ${1/(var|let|const) //}++)
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>eacharray</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.js</scope>
+</snippet>
diff --git a/User/lua-class.sublime-snippet b/User/lua-class.sublime-snippet
new file mode 100644
index 0000000..15479d5
--- /dev/null
+++ b/User/lua-class.sublime-snippet
@@ -0,0 +1,17 @@
+<snippet>
+ <content><![CDATA[
+--- ${3:Short description}
+-- @type ${1:MyClass}
+${2:${TM_FILENAME/.lua$//}}.${1:MyClass} = {}
+
+--- Create a new ${1:MyClass}
+-- @treturn ${1:MyClass}
+function ${2:${TM_FILENAME/.lua$//}}.${1:MyClass}:new()
+ return utils.mkobject(self)
+end
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>class</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua,source.luae</scope>
+</snippet>
diff --git a/User/lua-lfun.sublime-snippet b/User/lua-lfun.sublime-snippet
new file mode 100644
index 0000000..e681172
--- /dev/null
+++ b/User/lua-lfun.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+local function ${1:name}(${2:})
+ ${3:-- ...}
+end
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>lfun</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua</scope>
+</snippet>
diff --git a/User/lua-local.sublime-snippet b/User/lua-local.sublime-snippet
new file mode 100644
index 0000000..cd1b694
--- /dev/null
+++ b/User/lua-local.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+local ${1:var}${2: = ${3:nil}}
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>ll</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua</scope>
+</snippet>
diff --git a/User/lua-module.sublime-snippet b/User/lua-module.sublime-snippet
new file mode 100644
index 0000000..9c40cb2
--- /dev/null
+++ b/User/lua-module.sublime-snippet
@@ -0,0 +1,15 @@
+<snippet>
+ <content><![CDATA[
+--- ${2:Description}
+-- @module ${3:${TM_FILEPATH/^(\/(?:home\/\w+\/)?)|(\/)|(\.lua$)/(?2.)/g}}
+local ${1:${TM_FILENAME/\.lua$//}} = {}
+
+${4:}
+
+return ${1:}
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>module</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua</scope>
+</snippet>
diff --git a/User/lua-rq.sublime-snippet b/User/lua-rq.sublime-snippet
new file mode 100644
index 0000000..7da28a7
--- /dev/null
+++ b/User/lua-rq.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+local ${1/.*\.//} = require "${1:path.to.module}"
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>rq</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua,source.luae</scope>
+</snippet>
diff --git a/User/lua_lambda.sublime-snippet b/User/lua_lambda.sublime-snippet
new file mode 100644
index 0000000..c2f0d84
--- /dev/null
+++ b/User/lua_lambda.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+function ($1)
+ ${3:return ${2:foo()};}
+end
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>lambda</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua,source.luae</scope>
+</snippet>
diff --git a/User/mk.sublime-build b/User/mk.sublime-build
new file mode 100644
index 0000000..495d239
--- /dev/null
+++ b/User/mk.sublime-build
@@ -0,0 +1,4 @@
+{
+ "cmd": ["mk"],
+ "working_dir": "${project_path:${folder}}"
+}
diff --git a/User/mystuff-todo-clike.sublime-snippet b/User/mystuff-todo-clike.sublime-snippet
new file mode 100644
index 0000000..f4fac0c
--- /dev/null
+++ b/User/mystuff-todo-clike.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+// \mystuff\TODO:
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>\T:</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.js,source.php,source.c,source.c++</scope>
+</snippet>
diff --git a/User/mystuff-todo-sqllike.sublime-snippet b/User/mystuff-todo-sqllike.sublime-snippet
new file mode 100644
index 0000000..4009e66
--- /dev/null
+++ b/User/mystuff-todo-sqllike.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+-- \mystuff\TODO:
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>\T:</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua,source.sql</scope>
+</snippet>
diff --git a/User/newblock-eol.sublime-macro b/User/newblock-eol.sublime-macro
new file mode 100644
index 0000000..337d005
--- /dev/null
+++ b/User/newblock-eol.sublime-macro
@@ -0,0 +1,31 @@
+[
+ {
+ "args":
+ {
+ "extend": false,
+ "to": "hardeol"
+ },
+ "command": "move_to"
+ },
+ {
+ "args":
+ {
+ "characters": " "
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "contents": "{$0}"
+ },
+ "command": "insert_snippet"
+ },
+ {
+ "args":
+ {
+ "file": "res://Packages/Default/Add Line in Braces.sublime-macro"
+ },
+ "command": "run_macro_file"
+ }
+]
diff --git a/User/newblock-lua.sublime-macro b/User/newblock-lua.sublime-macro
new file mode 100644
index 0000000..a816c75
--- /dev/null
+++ b/User/newblock-lua.sublime-macro
@@ -0,0 +1,31 @@
+[
+ {
+ "args":
+ {
+ "extend": false,
+ "to": "eol"
+ },
+ "command": "move_to"
+ },
+ {
+ "args":
+ {
+ "file": "res://Packages/Default/Add Line.sublime-macro"
+ },
+ "command": "run_macro_file"
+ },
+ {
+ "args":
+ {
+ "characters": "end"
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "file": "res://Packages/Default/Add Line Before.sublime-macro"
+ },
+ "command": "run_macro_file"
+ }
+]
diff --git a/User/newblock-nextline.sublime-macro b/User/newblock-nextline.sublime-macro
new file mode 100644
index 0000000..276bda0
--- /dev/null
+++ b/User/newblock-nextline.sublime-macro
@@ -0,0 +1,31 @@
+[
+ {
+ "args":
+ {
+ "extend": false,
+ "to": "eol"
+ },
+ "command": "move_to"
+ },
+ {
+ "args":
+ {
+ "characters": "\n"
+ },
+ "command": "insert"
+ },
+ {
+ "args":
+ {
+ "contents": "{$0}"
+ },
+ "command": "insert_snippet"
+ },
+ {
+ "args":
+ {
+ "file": "res://Packages/Default/Add Line in Braces.sublime-macro"
+ },
+ "command": "run_macro_file"
+ }
+]
diff --git a/User/nocommit-lua.sublime-snippet b/User/nocommit-lua.sublime-snippet
new file mode 100644
index 0000000..bad566b
--- /dev/null
+++ b/User/nocommit-lua.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+-- !nocommit:
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>!nco</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua</scope>
+</snippet>
diff --git a/User/paste_separated.py b/User/paste_separated.py
new file mode 100644
index 0000000..dda3a27
--- /dev/null
+++ b/User/paste_separated.py
@@ -0,0 +1,7 @@
+import sublime
+import sublime_plugin
+
+
+class PasteSeparatedCommand(sublime_plugin.TextCommand):
+ def run(self, edit):
+ self.view.run_command("insert_snippet", {"contents": "${0:, }".join(l.replace("$", "\\$") for l in sublime.get_clipboard().split("\n"))})
diff --git a/User/select_only_unique.py b/User/select_only_unique.py
new file mode 100644
index 0000000..49b8fe5
--- /dev/null
+++ b/User/select_only_unique.py
@@ -0,0 +1,20 @@
+import sublime
+import sublime_plugin
+
+
+class SelectOnlyUniqueCommand(sublime_plugin.TextCommand):
+ def run(self, edit):
+ new_sels = []
+ found_texts = set()
+
+ for r in self.view.sel():
+ text = self.view.substr(r)
+ if text not in found_texts:
+ found_texts.add(text)
+ new_sels.append((r.a, r.b))
+
+ self.view.sel().clear()
+ self.view.sel().add_all([
+ sublime.Region(a, b)
+ for a, b in new_sels
+ ])
diff --git a/User/semicolon-eol.sublime-macro b/User/semicolon-eol.sublime-macro
new file mode 100644
index 0000000..ecf7a44
--- /dev/null
+++ b/User/semicolon-eol.sublime-macro
@@ -0,0 +1,17 @@
+[
+ {
+ "args":
+ {
+ "extend": false,
+ "to": "eol"
+ },
+ "command": "move_to"
+ },
+ {
+ "args":
+ {
+ "characters": ";"
+ },
+ "command": "insert"
+ }
+]
diff --git a/User/this.sublime-snippet b/User/this.sublime-snippet
new file mode 100644
index 0000000..bf36b77
--- /dev/null
+++ b/User/this.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+\$this->
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>$t</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.php</scope>
+</snippet>
diff --git a/WordHighlight b/WordHighlight
new file mode 160000
+Subproject ca12c7f858762428349180e8d4afe14d22ceba5
diff --git a/awk-sublime b/awk-sublime
new file mode 160000
+Subproject 1ce5f90d444d80b12af41bc051507e914730d4e
diff --git a/base16-textmate b/base16-textmate
new file mode 160000
+Subproject 1d9e52afb74e03f5a2fdc53d9327428fe00c70c
diff --git a/install-aux.sh b/install-aux.sh
new file mode 100644
index 0000000..fba2da8
--- /dev/null
+++ b/install-aux.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pip install --user -U CodeIntel
diff --git a/sublime-expand-region b/sublime-expand-region
new file mode 160000
+Subproject 555c763026cdaa260c43fc7a90e704b4d0e8a61
diff --git a/sublimeBookmark b/sublimeBookmark
new file mode 160000
+Subproject bb548a5ce40e201f39bd148edb9cafd40b9cf13
diff --git a/sublime_alignment b/sublime_alignment
new file mode 160000
+Subproject 7be063c43687b53dc3ad86abe35716a0de84605
diff --git a/sublime_indent_and_braces b/sublime_indent_and_braces
new file mode 160000
+Subproject 81a8ab3353a59ae94c482f52446f46470fff36b
diff --git a/sublime_jump_along_indent b/sublime_jump_along_indent
new file mode 160000
+Subproject 664ff37e9fc2ba89aea595c7bf971da31bdd102