sponsor Vim development Vim logo Vim Book Ad

sgmlendtag : Auto completion of sgml (html, xml, etc) end tags.

 script karma  Rating 6/3, Downloaded by 1246  Comments, bugs, improvements  Vim wiki

created by
Eric Van Dewoestine
 
script type
ftplugin
 
description
This sgml end tag completion plugin aims to provide a simple
means to complete end tags in sgml documents (xml, html, etc.).

Unlike some other end tag completion plugins, the end tag is
not auto added when you finish typing the opening tag, but
instead is inserted only when you start typing the closing tag
(when you hit the slash in '</'), at which point the tag name
and closing > are inserted automatically.

The intent of this approach is to prevent an interruption in
your flow of typing by not requiring you to ever have to
navigate around text added to the right of the cursor.

http://github.com/ervandew/sgmlendtag
 
install details
1. Download sgmlendtag.vba to any directory.
2. Open the file in vim ($ vim sgmlendtag.vba).
3. Source the file (:so %).
 

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
sgmlendtag.vba 1.0 2011-07-25 7.0 Eric Van Dewoestine Initial upload
ip used for rating: 142.132.191.50

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 the maillist. Help Bram help Uganda.
   
Vim at Github