diff --git a/README.md b/README.md index bcba9b9..34a53b5 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,12 @@ your cursor ends up after typing an abbreviation: {{else}} {{/if}} ``` + - `{{ea` produces + + ``` + {{#each _}} + {{/each}} + ``` ### Section movement mappings diff --git a/ftplugin/mustache.vim b/ftplugin/mustache.vim index 61b5896..006e551 100644 --- a/ftplugin/mustache.vim +++ b/ftplugin/mustache.vim @@ -29,6 +29,7 @@ if exists("g:mustache_abbreviations") inoremap {{> {{>}} inoremap {{# {{#}}{{/}} inoremap {{if {{#if }}{{/if}} + inoremap {{ea {{#each }}{{/each}} inoremap {{ife {{#if }}{{else}}{{/if}} endif