This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %YAML 1.2 | |
| --- | |
| name: HTML | |
| file_extensions: | |
| - html | |
| - htm | |
| - shtml | |
| - xhtml | |
| - inc | |
| - tmpl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sublime | |
| ------- | |
| sublime.version() | |
| sublime.platform() | |
| sublime.arch() | |
| sublime.channel() | |
| sublime.executable_path() | |
| sublime.executable_hash() | |
| sublime.packages_path() | |
| sublime.installed_packages_path() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [ | |
| // VCS badges | |
| { | |
| "class": "vcs_status_badge", | |
| "parents": [{"class": "file_system_entry", "attributes": ["untracked"]}], | |
| "layer0.texture": "Theme - Default/common/status_untracked.png", | |
| "layer0.tint": "color(var(--yellowish) blend(rgb(255, 255, 255) 60%))", | |
| "layer0.opacity": 1.0, | |
| "content_margin": 6 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sublime | |
| import sublime_plugin | |
| import os | |
| _scheme_mappings = { | |
| "entity.anchor.text": "string.quoted", | |
| "punctuation.anchor": "string.quoted", | |
| "entity.link.text": "storage", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "caption": "BufferList: Show Buffers", | |
| "command": "show_buffers", | |
| "args": { | |
| "give_focus": true | |
| } | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| // Use our own buzzword lorem ipsum generator. It generates buzzword lorem | |
| // using a rolling stock of 5 paragraphs and lets you generate multiple | |
| // items at once. | |
| { | |
| "keys": ["tab"], | |
| "command": "buzzword_ipsum", | |
| "context": [ | |
| { "key": "selection_empty", "operator": "equal", "operand": "true", "match_all": true }, | |
| { "key": "preceding_text", "operator": "regex_match", "operand": "^.*lorem\\d*$", "match_all": true }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "target": "buffered_exec", | |
| "cancel": {"kill": true}, | |
| "shell_cmd": "python -u \"$file\"", | |
| "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
| "selector": "source.python", | |
| "env": {"PYTHONIOENCODING": "utf-8"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sublime | |
| import sublime_plugin | |
| # From the Stack Overflow Question: | |
| # https://stackoverflow.com/questions/49897187/sublime-text-3-simple-plug-in-that-changes-color-theme-depending-on-remote-host | |
| class ExampleCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| view = self.view |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sublime | |
| import sublime_plugin | |
| import os | |
| import textwrap | |
| # Related Reading: | |
| # https://forum.sublimetext.com/t/overriding-default-latex-snippet-in-user-folder-not-working/35900 |