ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Hammer for Mac Snippets

by dpskvn ST2/ST3

Hammer for Mac snippets for Sublime Text

Labels snippets, hammer, mac

Details

Installs

  • Total 360
  • Win 61
  • OS X 283
  • Linux 16
Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9
Windows 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 0 0 0 0 0 0 0 0 0 0 0
OS X 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

  1. Install Package Control
  2. Hit ⌘+⇧+P to open the Command Palette
  3. Look for Package Control: Install Package and hit
  4. 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.