sponsor Vim development Vim logo Vim Book Ad

xmledit : A filetype plugin to help edit XML, HTML, and SGML documents

 script karma  Rating 528/197, Downloaded by 8198

created by
Devin Weaver
 
script type
ftplugin
 
description
This script provides some convenience when editing XML (and some SGML including
HTML) formated documents. It allows you to jump to the beginning or end of the
tag block your cursor is in. '%' will jump between '<' and '>' within the tag
your cursor is in. When in insert mode and you finish a tag (pressing '>') the
tag will be completed. If you press '>' twice it will complete the tag and
place the cursor in the middle of the tags on it's own line.
 
install details
This new version has the documentation coupled with the script. You only need one file xml.vim.

Place this file in your ftplugin directory (i.e. '~/.vim/ftplugin/xml.vim) Type :help ftplugins for more information on installation.

The documentation will install automatically the first time the plugin is ran.

The html.vim script that came with the old tarball is now in the documentation as an example. to use it just copy/paste it into the file html.vim. See :help xml-plugin-html after the documentation installs.

ChangeLog and older versions availiable on request.
 

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 1.20 2004-05-17 6.0 Devin Weaver New package is self contained. Documentation installs automatically.

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to vim@vim.org after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo