Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Automatically closes HTML tags once you finish typing them.
branch: master

This branch is 1 commit ahead of vim-scripts:master

Fix bug of autoclosing while the completion menu is open.

The return key mapping was causing to select the first suggested
Changed to check if the completion menu is open and close it when needed
on the return mapping.
I described a consequence of this bug here:!topic/spf13-vim-discuss/g-tkIbMzvFM%5B1-25%5D
latest commit c2f6f59cf5
@amirh authored
Failed to load latest commit information.
ftplugin Fix bug of autoclosing while the completion menu is open.
README Version 0.2: Initial upload


This is a mirror of

Automatically closes HTML tag once you finish typing it with >. It is also smart enough to not autoclose tags when in a comment, when they are self-closing, or when they have already been closed.

So, <body id="foo">, upon typing >, will become <body id="foo">|</body>, where | is the cursor.
But, if you type <img src="bar.png">, the script knows to keep it the same.
Something went wrong with that request. Please try again.