I would like to fill the space between html attributes regularly in order to simplify editing in block mode.
Example:
<p><input type="a" name="a" value="foo a"></p>
<p><input type="ab" name="ab" value="ab bar"></p>
<p><input type="abc" name="abc" value="baz abc"></p>
Select the three inputs in visual block mode and do some magic.
Output:
<p><input type="a" name="a" value="foo a" ></p>
<p><input type="ab" name="ab" value="ab bar" ></p>
<p><input type="abc" name="abc" value="baz abc"></p>
(Preferably without filling out the spaces between values.)
How do I do that?
Edit: And a way back (after editing) would be nice, too.
You can do this with the Align plugin:
or build a mapping with it:
There’s also an alternative to Align called Tabularize.