Reputation: 348
emmet.vim had been installed via vundle.
$ cd ~/.vim/bundle
$ git clone [email protected]:mattn/emmet-vim.git
ls .vim/bundle/emmet-vim
autoload emmet.vim.vimup plugin TODO unittest.vim
doc Makefile README.mkd TUTORIAL
To reboot and edite test.html file.
cd /tmp
vim test.html
To do as manual say: http://www.vim.org/scripts/script.php?script_id=2981
Type abbreviation
+-------------------------------------
| html:5_
+-------------------------------------
"_" is a cursor position. and type "<c-y>," (Ctrl + y and Comma)
It is no use to input html5 and ctrl+y+, this way.
It is no use to input html5 and ctrl+y+, this way too.
Upvotes: 0
Views: 1096
Reputation: 348
To install it with pathogen
cd ~/.vim/bundle
git clone https://github.com/mattn/emmet-vim.git
Upvotes: 0
Reputation: 28179
It might be the case that emmet is not installed correctly or available.
To make sure if emmet is available, run :scriptnames
and see if emmet is there
If not install it correctly from https://github.com/mattn/emmet-vim
To use emmet, you have to follow the first method you mentioned. ie typing in html5 in editing space itself and do ctrly followed by ,
Upvotes: 1