emmet-vim adds Emmet-like abbreviation expansion to Vim for faster HTML and CSS editing. Install via common Vim plugin managers or by copying plugin files.
Overview
emmet-vim is a Vim plugin that expands terse abbreviations into HTML, CSS, and related markup, similar to the Emmet toolkit used in other editors. A short snippet such as an html:5 shorthand can expand into a full document skeleton when triggered with the plugin’s default key chord.
Users can limit Emmet to specific file types, remap the trigger key, and tune behavior through vimrc settings. Optional integration with Emmet’s web API allows loading custom snippets from a JSON file on disk.
The plugin ships with documentation for responsive meta tag snippets and variable defaults such as language attributes. It is maintained as an open Vim extension aimed at web developers who work in the terminal editor.
Installation paths described in project materials include manual copy into Vim plugin directories, or placement in a bundle folder when using pathogen-style layout.
Key features
- Abbreviation expansion for HTML and CSS
- Configurable trigger key and filetype scope
- Custom snippets via JSON file path
- Default attributes for HTML elements
- html:5 and similar bundled snippets
- Vimrc settings for Emmet variables
Use cases
- Rapid HTML boilerplate in Vim sessions
- CSS shorthand expansion while editing styles
- Custom Emmet snippets for repeated markup
- Web coding with Vim instead of GUI editors