not logged in (
login
)
Home
Advanced search
About Vim
Community
News
Sponsoring
Trivia
Documentation
Download
Scripts
Tips
My Account
Site Help
XML Indent : My XML Indent (align attributes)
script karma
Rating
30/13
, Downloaded by 3714
Comments, bugs, improvements
Vim wiki
created by
Aquila Deus
script type
indent
description
It aligns all attributes of a tag to the same column
<!-- there are 10 spaces before "xmlns:c=..." -->
<jsp:root xmlns:jsp="
http://java.sun.com/JSP/Page"
;
xmlns:c="
http://java.sun.com/jstl/core"
;
xmlns:tf="urn:jsptagdir:/WEB-INF/tags">
<jsp:root
xmlns:jsp="
http://java.sun.com/JSP/Page"
;
xmlns:c="
http://java.sun.com/jstl/core"
;
xmlns:tf="urn:jsptagdir:/WEB-INF/tags">
(The original indent/xml.vim does only the second type of indent)
install details
Overide the original indent/xml.vim with this file
rate this script
Life Changing
Helpful
Unfulfilling
script versions
(
upload new version
)
Click on the package to download.
package
script version
date
Vim version
user
release notes
xml.vim
0.993
2005-04-16
6.0
Aquila Deus
Indent multi-line <!-- --> and <%-- --%>
xml.vim
0.992
2005-02-25
6.0
Aquila Deus
Fix bug with <!DOCTYPE
xml.vim
0.991
2005-02-24
6.0
Aquila Deus
fix <!-- --> problem. Now the line after comment tag is always aligned to the open tag of comment (regardless of the contents inside comment)
xml.vim
0.99
2005-02-22
6.0
Aquila Deus
Initial upload
ip used for rating: 172.71.120.52
Questions about
Vim
should go to the
maillist
.
Help Uganda
.
Vim at Github