Skip to main content

Questions tagged [plugin-emmet-vim]

Expand abbreviations similar to emmet

Filter by
Sorted by
Tagged with
5 votes
1 answer
1k views

Adding emmet plugin to Vim in Windows

I am using Vim in my windows PC . Currently I am working with a web project and I want to use Vim as code editor. I tried to download and add the http://emmet.io/ plugin to Vim editor from this site ...
ambes's user avatar
  • 193
3 votes
2 answers
754 views

What's the difference between coc-emmet and emmet.vim?

I'm working in HTML and want to choose emmet support for neo(vim) but don't know where to start. What are the differences between coc-emmet or emmet.vim?
Pham Hung's user avatar
  • 113
2 votes
2 answers
118 views

How to have both Ultisnips and Emmet-Vim depending of the filetype

I often use UltiSnips for other file types, but for HTML I'd like to use Emmet-vim. However, I'd like to use the same trigger for both. For this I have let g:user_emmet_expandabbr_key='<C-j>' ...
ElPC's user avatar
  • 31
2 votes
0 answers
146 views

How to disable default emmet or sparkup behaviour

How can I disable default behaviour in emmet or sparkup? I want to disable this expansion: form --> <form action=""></form> I want to set it to (without action=""): form --> <...
Mas Bagol's user avatar
  • 537
1 vote
1 answer
164 views

I am unable to install emmet plugin on windows

My directory structure is as follows Vim/ -vim74/ -autoload/ -emmet-vim-master/ -autoload -emmet/ -plugin -doc -plugin/ -color/ -ftplugin/ -vimfiles/ -...
Suraj Palwe's user avatar
1 vote
0 answers
134 views

Repeat Emmet commands in vim with dot operator

Is there a way i can repeat an emmet command in vim. Below is the sample text file <h1>Hello World</h1> <h1>Hello World</h1> So i use emmet to wrap the the first line inside ...
Rohit Bhanot's user avatar
1 vote
0 answers
92 views

Changing color value for css syntax when using tab completion via emmet

Im using vim 7.4 and the Emmet plugin. While editing a css document and entering a selector .mylink for example, pressing Tab will typically yield a space, opening and closing braces and a blank line ...
visyoual's user avatar
0 votes
2 answers
1k views

Neovim keep html tags indented in react/jsx files

When I edit a .html file I get this when pressing enter key: <div>|</div> <div> | </div> and while I edit a react file, the behavior is not what I was expecting: <div>...
user44767's user avatar
0 votes
0 answers
135 views

Emmet expand only HTML tags

Hi I'm trying to make emmet expand only Html tags. For example div<c-y>, should be expanded to <div></div> But abc<c-y>, should not be expanded. By default emmet expands ...
builder-7000's user avatar
-1 votes
0 answers
25 views

Vim 9 and Emmet % key for navigation in html no longer seems to work

On gVim I find that the % key doesn't work with html files although it does work in CSS files. In HTML files with an extension of .html it seems to do nothing. If the cursor is placed on a div tag ...
Kiwiheretic's user avatar
-2 votes
2 answers
726 views

Why emmet.vim don't expand CSS abbreviation?

To input w100p and ctrl+y+, or w100p and tab,w100p can't expand into width: 100%. No snippets.json file found with command find / -name 'snippets.json',is it the reason? snippets.json can ...
showkey's user avatar
  • 1,140