Hammer for Mac Snippets
Hammer for Mac snippets for Sublime Text
Details
Installs
- Total 570
- Win 182
- Mac 348
- Linux 40
Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Hammer for Mac snippets for Sublime Text
About
A small collection of useful Sublime Text snippets to be used with Riot's wonderful app Hammer for Mac.
Installation
Via Package Control
- Install Package Control
- Hit
⌘+⇧+P
to open the Command Palette - Look for Package Control: Install Package and hit
↵
- Search for
Hammer for Mac Snippets
and hit↵
Manual
Navigate to your Packages directory and clone this repository:
$ git clone https://github.com/DinoPaskvan/Hammer-Snippets.git
Usage
Just type one of the triggers and hit TAB
inside the editor.
Snippet | Trigger | Output |
---|---|---|
404 Fix | h-404 | <base href="/"> |
Automatic Reload | h-rel | “ |
HTML Include | h-inc | ” |
Image Placeholder | h-img | “ |
JavaScript Link (file) | h-js | ” |
JavaScript Link (folder) | h-jsf | “ |
Smart Path | h-pa | ” |
Stylesheet Link (file) | h-st | “ |
Stylesheet Link (folder) | h-stf | ” |
To do | h-td | “ (1) |
Variable | h-var | ” |
Variable (Default Value) | h-vard | “ (2) |
(1) Output varies for each language (HTML, HAML, CSS, SCSS, CoffeeScript, JavaScript). Table shows HTML output.
(2) The |
character breaks the table syntax and cannot be escaped. The actual output is: ”
Contributions
Feel free to fork this repository, fiddle with things and send pull requests.
License
This plugin is licensed under the MIT license.