emmet-vim
emmet-vim copied to clipboard
quick tutorial not ok
I new a indel.html file, and hit 'html:5_', and then '<C-y>,' but it shows:
<html:5_></html:5_>
not the tutorial as told.
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
_
</body>
</html>
Hello there!
Read manual more carefully. Underscore is a mark of your current cursor position. So you just need to type html:5 and hit trigger key (Ctrl+Y ,). You don't need to type < and > signs.
And even more. You can type ! and hit trigger key and... bang! Get the same result.
Cheers!