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

Hammer for Mac Snippets

by dpskvn ALL

Hammer for Mac snippets for Sublime Text

Labels snippets, hammer, mac

Details

  • 1.1.3
  • github.​com
  • github.​com
  • 11 years ago
  • 41 minutes ago
  • 11 years ago

Installs

  • Total 555
  • Win 174
  • Mac 342
  • Linux 39
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
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 1 0 0 0
Mac 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 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 1 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.