I am trying to execute VIM for editing HTML, CSS and JavaScript. I installed several plugins and configured VIM so that it can autocopy standard HTML / CSS code. And now I want to autocomplete my CSS with tag identifiers and class names placed in HTML files, like Apatan. For instance:
I have a 1.html file with the following lines:
<div id="my_id"> </div> <div class="my_class"> </div>
And I have a 1.css file with:
#my_id{border-style:dotted} .my_class{border-style:solid}
When I edit the CSS file and press <cx><co> immediately after # , I want VIM to offer me identifier tags from the 1.html file. The same goes for tag class names. What should I do?
source share