Hammer for Mac Snippets
Hammer for Mac snippets for Sublime Text
Details
Installs
- Total 580
- Win 191
- Mac 349
- Linux 40
| Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 0 | 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 | 0 | 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
⌘+⇧+Pto open the Command Palette - Look for Package Control: Install Package and hit
↵ - Search for
Hammer for Mac Snippetsand 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.