How can one close HTML tags in Vim quickly ?
One can close HTML tags in Vim by closetag.vim
Functions and mappings to close open HTML/XML tags
Similarly use this link https://www.vim.org/scripts/script.php?script_id=13
The xmledit plugin will be useful. This will add two parts of components:
- While opening a tag type <p>, it fastly expands the tag as we type the closing > into <p></p> and places the cursor inside the tag in insert mode.
- Then immediately typing another > , for example type <p>>, it enlarge that into
and places the cursor inside the tag, sectioned once, in insert mode. The xml vim plugin will add code folding and nested tag that relating to these features.