From cdc9057adf122944ace0fc89d0a9f1e31c9a7ada Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sat, 7 Dec 2019 23:06:14 +0100 Subject: init --- .gitmodules | 48 ++++++++++ CaseConversion | 1 + Dictionaries | 1 + JavaScript/Snippets/Get-Elements.sublime-snippet | 3 + JavaScript/Snippets/Object-Method.sublime-snippet | 3 + .../Snippets/Object-Value-JS.sublime-snippet | 3 + .../Snippets/Object-key-key-value.sublime-snippet | 3 + .../Snippets/Prototype-(proto).sublime-snippet | 3 + .../Snippets/for-()-{}-(faster).sublime-snippet | 3 + JavaScript/Snippets/for-()-{}.sublime-snippet | 3 + JavaScript/Snippets/function-(fun).sublime-snippet | 3 + JavaScript/Snippets/function.sublime-snippet | 3 + JavaScript/Snippets/if-___-else.sublime-snippet | 3 + JavaScript/Snippets/if.sublime-snippet | 3 + .../Snippets/setTimeout-function.sublime-snippet | 3 + SqlBeautifier | 1 + Sublime-Missing-Palette-Commands | 1 + SublimeCalculate | 1 + SublimeCodeIntel | 1 + SublimeExternalCommand | 1 + SublimeFileDiffs | 1 + SublimeMarkAndMove | 1 + SublimeText-SQLTools | 1 + User/CREATE TABLE.sublime-snippet | 11 +++ User/Default (Linux).sublime-keymap | 80 +++++++++++++++++ User/Default (Linux).sublime-mousemap | 20 +++++ User/DeleteToNextBrace.sublime-macro | 28 ++++++ User/FileDiffs.sublime-settings | 3 + User/Lua.sublime-settings | 5 ++ User/MyPaletteExtensions.sublime-commands | 20 +++++ User/Preferences.sublime-settings | 69 ++++++++++++++ User/Python.sublime-settings | 5 ++ User/Ruby.sublime-settings | 5 ++ User/TabsExtra/Tab Context.sublime-menu | 75 ++++++++++++++++ User/XML.sublime-settings | 5 ++ User/YAML.sublime-settings | 5 ++ User/attention-block.sublime-snippet | 11 +++ User/breakstring-lua-dblquot.sublime-snippet | 9 ++ User/breakstring-lua-singlequot.sublime-snippet | 9 ++ User/bustedit.sublime-snippet | 11 +++ User/color_helper.palettes | 6 ++ User/copy_pos.py | 13 +++ User/dont_commit.sublime-snippet | 9 ++ User/expand_to_end_of_scope.py | 12 +++ User/flip_selections.py | 9 ++ User/fold_selections.py | 8 ++ User/foreachown-js.sublime-snippet | 11 +++ User/get_to_var.sublime-macro | 100 +++++++++++++++++++++ User/insert_date.sublime-settings | 3 + User/isset.sublime-snippet | 11 +++ User/joinon.sublime-snippet | 9 ++ User/js-eacharray.sublime-snippet | 9 ++ User/lua-class.sublime-snippet | 17 ++++ User/lua-lfun.sublime-snippet | 11 +++ User/lua-local.sublime-snippet | 9 ++ User/lua-module.sublime-snippet | 15 ++++ User/lua-rq.sublime-snippet | 9 ++ User/lua_lambda.sublime-snippet | 11 +++ User/mk.sublime-build | 4 + User/mystuff-todo-clike.sublime-snippet | 9 ++ User/mystuff-todo-sqllike.sublime-snippet | 9 ++ User/newblock-eol.sublime-macro | 31 +++++++ User/newblock-lua.sublime-macro | 31 +++++++ User/newblock-nextline.sublime-macro | 31 +++++++ User/nocommit-lua.sublime-snippet | 9 ++ User/paste_separated.py | 7 ++ User/select_only_unique.py | 20 +++++ User/semicolon-eol.sublime-macro | 17 ++++ User/this.sublime-snippet | 9 ++ WordHighlight | 1 + awk-sublime | 1 + base16-textmate | 1 + install-aux.sh | 3 + sublime-expand-region | 1 + sublimeBookmark | 1 + sublime_alignment | 1 + sublime_indent_and_braces | 1 + sublime_jump_along_indent | 1 + 78 files changed, 925 insertions(+) create mode 100644 .gitmodules create mode 160000 CaseConversion create mode 160000 Dictionaries create mode 100644 JavaScript/Snippets/Get-Elements.sublime-snippet create mode 100644 JavaScript/Snippets/Object-Method.sublime-snippet create mode 100644 JavaScript/Snippets/Object-Value-JS.sublime-snippet create mode 100644 JavaScript/Snippets/Object-key-key-value.sublime-snippet create mode 100644 JavaScript/Snippets/Prototype-(proto).sublime-snippet create mode 100644 JavaScript/Snippets/for-()-{}-(faster).sublime-snippet create mode 100644 JavaScript/Snippets/for-()-{}.sublime-snippet create mode 100644 JavaScript/Snippets/function-(fun).sublime-snippet create mode 100644 JavaScript/Snippets/function.sublime-snippet create mode 100644 JavaScript/Snippets/if-___-else.sublime-snippet create mode 100644 JavaScript/Snippets/if.sublime-snippet create mode 100644 JavaScript/Snippets/setTimeout-function.sublime-snippet create mode 160000 SqlBeautifier create mode 160000 Sublime-Missing-Palette-Commands create mode 160000 SublimeCalculate create mode 160000 SublimeCodeIntel create mode 160000 SublimeExternalCommand create mode 160000 SublimeFileDiffs create mode 160000 SublimeMarkAndMove create mode 160000 SublimeText-SQLTools create mode 100644 User/CREATE TABLE.sublime-snippet create mode 100644 User/Default (Linux).sublime-keymap create mode 100644 User/Default (Linux).sublime-mousemap create mode 100644 User/DeleteToNextBrace.sublime-macro create mode 100644 User/FileDiffs.sublime-settings create mode 100644 User/Lua.sublime-settings create mode 100644 User/MyPaletteExtensions.sublime-commands create mode 100644 User/Preferences.sublime-settings create mode 100644 User/Python.sublime-settings create mode 100644 User/Ruby.sublime-settings create mode 100755 User/TabsExtra/Tab Context.sublime-menu create mode 100644 User/XML.sublime-settings create mode 100644 User/YAML.sublime-settings create mode 100644 User/attention-block.sublime-snippet create mode 100644 User/breakstring-lua-dblquot.sublime-snippet create mode 100644 User/breakstring-lua-singlequot.sublime-snippet create mode 100644 User/bustedit.sublime-snippet create mode 100644 User/color_helper.palettes create mode 100644 User/copy_pos.py create mode 100644 User/dont_commit.sublime-snippet create mode 100644 User/expand_to_end_of_scope.py create mode 100644 User/flip_selections.py create mode 100644 User/fold_selections.py create mode 100644 User/foreachown-js.sublime-snippet create mode 100644 User/get_to_var.sublime-macro create mode 100644 User/insert_date.sublime-settings create mode 100644 User/isset.sublime-snippet create mode 100644 User/joinon.sublime-snippet create mode 100644 User/js-eacharray.sublime-snippet create mode 100644 User/lua-class.sublime-snippet create mode 100644 User/lua-lfun.sublime-snippet create mode 100644 User/lua-local.sublime-snippet create mode 100644 User/lua-module.sublime-snippet create mode 100644 User/lua-rq.sublime-snippet create mode 100644 User/lua_lambda.sublime-snippet create mode 100644 User/mk.sublime-build create mode 100644 User/mystuff-todo-clike.sublime-snippet create mode 100644 User/mystuff-todo-sqllike.sublime-snippet create mode 100644 User/newblock-eol.sublime-macro create mode 100644 User/newblock-lua.sublime-macro create mode 100644 User/newblock-nextline.sublime-macro create mode 100644 User/nocommit-lua.sublime-snippet create mode 100644 User/paste_separated.py create mode 100644 User/select_only_unique.py create mode 100644 User/semicolon-eol.sublime-macro create mode 100644 User/this.sublime-snippet create mode 160000 WordHighlight create mode 160000 awk-sublime create mode 160000 base16-textmate create mode 100644 install-aux.sh create mode 160000 sublime-expand-region create mode 160000 sublimeBookmark create mode 160000 sublime_alignment create mode 160000 sublime_indent_and_braces create mode 160000 sublime_jump_along_indent 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 index 0000000..457da26 --- /dev/null +++ b/CaseConversion @@ -0,0 +1 @@ +Subproject commit 457da2617c4d6dff060c0e31b124d6699cbcac50 diff --git a/Dictionaries b/Dictionaries new file mode 160000 index 0000000..8f03401 --- /dev/null +++ b/Dictionaries @@ -0,0 +1 @@ +Subproject commit 8f0340145fb0f7ce96b05623b100f85b1c6ad3fb 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ 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 @@ + + + \ No newline at end of file diff --git a/SqlBeautifier b/SqlBeautifier new file mode 160000 index 0000000..ba9f21c --- /dev/null +++ b/SqlBeautifier @@ -0,0 +1 @@ +Subproject commit ba9f21c3cecfa3e44d1ca471f423c1a468e18594 diff --git a/Sublime-Missing-Palette-Commands b/Sublime-Missing-Palette-Commands new file mode 160000 index 0000000..340a622 --- /dev/null +++ b/Sublime-Missing-Palette-Commands @@ -0,0 +1 @@ +Subproject commit 340a622f22bb9328bec41e7e5cb8c2d17d3d1c20 diff --git a/SublimeCalculate b/SublimeCalculate new file mode 160000 index 0000000..779af07 --- /dev/null +++ b/SublimeCalculate @@ -0,0 +1 @@ +Subproject commit 779af07491317f6e1497803e884b67dd3690b054 diff --git a/SublimeCodeIntel b/SublimeCodeIntel new file mode 160000 index 0000000..904e14f --- /dev/null +++ b/SublimeCodeIntel @@ -0,0 +1 @@ +Subproject commit 904e14f95b1a8d1d795f76d80f6a79d0edfc17ce diff --git a/SublimeExternalCommand b/SublimeExternalCommand new file mode 160000 index 0000000..7e78bcd --- /dev/null +++ b/SublimeExternalCommand @@ -0,0 +1 @@ +Subproject commit 7e78bcdc88a69ef9bbf59b154f901eb5c8d42700 diff --git a/SublimeFileDiffs b/SublimeFileDiffs new file mode 160000 index 0000000..4a5a845 --- /dev/null +++ b/SublimeFileDiffs @@ -0,0 +1 @@ +Subproject commit 4a5a845c90cfb32260f4ad30a10822c84698f3ae diff --git a/SublimeMarkAndMove b/SublimeMarkAndMove new file mode 160000 index 0000000..9fba4a0 --- /dev/null +++ b/SublimeMarkAndMove @@ -0,0 +1 @@ +Subproject commit 9fba4a01bddd1a6960cb6244262c3142ccf48fbf diff --git a/SublimeText-SQLTools b/SublimeText-SQLTools new file mode 160000 index 0000000..70567ca --- /dev/null +++ b/SublimeText-SQLTools @@ -0,0 +1 @@ +Subproject commit 70567caa8a50fc8e1db14007627e73a3ed8b7664 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 @@ + + + + CREATETABLE + + source.sql + 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 @@ + + + + --! + + + 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 @@ + + + + .. + + string.quoted.double.lua + 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 @@ + + + + .. + + string.quoted.single.lua + 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 @@ + + + + bustedit + + source.lua,source.luae + 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 @@ + + + + dc! + + source.php + 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 @@ + + + + foreachown + + source.js + 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 @@ + + + + + isset? + if isset x then x else y + + source.php + 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 @@ + + + + + ON= + ON join condition + 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 @@ + + + + eacharray + + source.js + 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 @@ + + + + class + + source.lua,source.luae + 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 @@ + + + + lfun + + source.lua + 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 @@ + + + + ll + + source.lua + 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 @@ + + + + module + + source.lua + 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 @@ + + + + rq + + source.lua,source.luae + 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 @@ + + + + lambda + + source.lua,source.luae + 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 @@ + + + + \T: + + source.js,source.php,source.c,source.c++ + 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 @@ + + + + \T: + + source.lua,source.sql + 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 @@ + + + + !nco + + source.lua + 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 @@ + + +]]> + + $t + + source.php + diff --git a/WordHighlight b/WordHighlight new file mode 160000 index 0000000..ca12c7f --- /dev/null +++ b/WordHighlight @@ -0,0 +1 @@ +Subproject commit ca12c7f858762428349180e8d4afe14d22ceba59 diff --git a/awk-sublime b/awk-sublime new file mode 160000 index 0000000..1ce5f90 --- /dev/null +++ b/awk-sublime @@ -0,0 +1 @@ +Subproject commit 1ce5f90d444d80b12af41bc051507e914730d4ef diff --git a/base16-textmate b/base16-textmate new file mode 160000 index 0000000..1d9e52a --- /dev/null +++ b/base16-textmate @@ -0,0 +1 @@ +Subproject commit 1d9e52afb74e03f5a2fdc53d9327428fe00c70c7 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 index 0000000..555c763 --- /dev/null +++ b/sublime-expand-region @@ -0,0 +1 @@ +Subproject commit 555c763026cdaa260c43fc7a90e704b4d0e8a616 diff --git a/sublimeBookmark b/sublimeBookmark new file mode 160000 index 0000000..bb548a5 --- /dev/null +++ b/sublimeBookmark @@ -0,0 +1 @@ +Subproject commit bb548a5ce40e201f39bd148edb9cafd40b9cf133 diff --git a/sublime_alignment b/sublime_alignment new file mode 160000 index 0000000..7be063c --- /dev/null +++ b/sublime_alignment @@ -0,0 +1 @@ +Subproject commit 7be063c43687b53dc3ad86abe35716a0de846050 diff --git a/sublime_indent_and_braces b/sublime_indent_and_braces new file mode 160000 index 0000000..81a8ab3 --- /dev/null +++ b/sublime_indent_and_braces @@ -0,0 +1 @@ +Subproject commit 81a8ab3353a59ae94c482f52446f46470fff36b2 diff --git a/sublime_jump_along_indent b/sublime_jump_along_indent new file mode 160000 index 0000000..664ff37 --- /dev/null +++ b/sublime_jump_along_indent @@ -0,0 +1 @@ +Subproject commit 664ff37e9fc2ba89aea595c7bf971da31bdd1027 -- cgit v1.2.3-70-g09d2