How to make emmet.vim plugin work? -
i getting headache - beginning use vim
daily programming tasks, decided make use of great plugins available it. started pathogen , believe succesfully installed it. tried emmet.vim not able make work. directory structure
├── autoload │ └── pathogen.vim └── bundle ├── autoload │ ├── emmet │ │ ├── lang │ │ │ ├── css.vim │ │ │ ├── haml.vim │ │ │ ├── html.vim │ │ │ ├── sass.vim │ │ │ ├── scss.vim │ │ │ └── slim.vim │ │ ├── lang.vim │ │ ├── lorem │ │ │ ├── en.vim │ │ │ └── ja.vim │ │ └── util.vim │ └── emmet.vim ├── doc │ └── emmet.txt └── plugin └── emmet.vim | .vimrc
and .vimrc
content
execute pathogen#infect() syntax on filetype plugin indent on
so right? , tried simple tutorial mentioned on github page didn't work. did
vim file.html //insert mode html:5 , pressing ctrl + y + ,
but nothing happened. appreciate advice on this, got stucked
you forgot root directory.
you have bundle/<repo content>
, should bundle/emmet-vim/<repo content>
.
so do:
$ cd ~/.vim/bundle
$ git clone git@github.com:mattn/emmet-vim.git
(which described @ pathogen readme :-))
Comments
Post a Comment