Sublime Text plugin for bemmet
Python JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node_modules Update to bemmet 2.0.0 Mar 5, 2016
.gitattributes initial Aug 2, 2015
.no-sublime-package initial Aug 2, 2015
README.md remove obsolete info Feb 28, 2016
bemmet.js add abbr parsing Feb 29, 2016
bemmet.py
bemmet.sublime-commands
node_bridge.py initial Aug 2, 2015
package.json

README.md

sublime-bemmet

Sublime plugin to expand bemmet abbreviation into BEMJSON.

Install

Install bemmet with Package Control and restart Sublime.

You need to have Node.js installed.
Make sure it's in your $PATH by running node -v in your command-line.
On OS X you need to make sure it's in /usr/local/bin or symlink it there.

Getting started

In a BEMJSON file, open the Command Palette (Cmd+Shift+P) and choose Expand bemmet abbreviation. You can alternatively create one or more selections before running the command to only expand those parts.

Keyboard shortcut

You can set up a keyboard shortcut to run the command by opening up "Preferences > Key Bindings - User" and adding your shortcut with the bemmet command.

Example:

[
    { "keys": ["super+b"], "command": "bemmet" }
]

License

MIT © Vladimir Grinenko