Skip to content

About

Emmet for Vim, implemented with UltiSnips

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

58 Commits

Folders and files

Repository files navigation

Emmet for Vim, implemented with UltiSnips.

Installation

Requires Python 3.4 or higher (:python3 print(sys.version)) and UltiSnips.

Install via e.g. vim-plug:

Plug 'adriaanzon/vim-emmet-ultisnips'
Plug 'SirVer/ultisnips'

Configuration

The snippets are enabled by default in HTML files. To use it in Vue files for example, put the following in your UltiSnips/vue.snippets:

extends html

Supported syntax

name example
element div, p
class .foo, .foo.bar
id #foobar
child ul>li
sibling div+p
repeat div*3
text a{Click me}

Alternatives

Both of these didn't work the way I wanted. I wanted it to simply work by writing an Emmet abbreviation and pressing <Tab>, while also still having <Tab> mapped to trigger a snippet.

About

Emmet for Vim, implemented with UltiSnips

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages