Hammer for Mac Snippets
Hammer for Mac snippets for Sublime Text
Details
Installs
- Total 558
- Win 175
- Mac 343
- Linux 40
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 1 | 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 | 1 | 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.