Skip to content
Allows for automatic indentation of multiline element attributes
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.
after/indent
README.md

README.md

vim-html-indent

HTML indent plugin for Vim. Based on xml.vim.

Allows for automatic indentation of multiline element attributes, for example:

<form action="/submit-form"
      method="post"
      name="myForm">

    <label for="fullname">Your name: </label>
    <input type="text"
           id="fullname"
           name="fullname"
           placeholder="Full name">

    <select name="sex">
        <option value="male">Male</option>
        <option value="female">Female</option>
    </select>

    <input type="submit" value="Send">
</form>

Installation

If you have pathogen installed, simply copy and paste:

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