Skip to content
Automatically close HTML tags in Vim
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ftplugin
LICENSE
README.md

README.md

vim-html-closer

Automatically close HTML tags in Vim.

Closes HTML tags automatically when pressing return after an opening tag:

<html>⏎

becomes: (vertical bar is cursor position)

<html>
    |
</html>

Closes tags by typing </ in insert mode:

<button>Button</

becomes:

<button>Button</button>

Installation

If you have pathogen installed, simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/jasonwoodland/vim-html-closer.git
You can’t perform that action at this time.