sponsor Vim development Vim logo Vim Book Ad

xml_taginsert : Insert xml tags by pressing <F7>

 script karma  Rating 2/2, Downloaded by 587    Comments, bugs, improvements  Vim wiki

created by
Michael Goerz
script type
This maps the <F7> key to an xml tag inserter. When you press <F7> while to cursor is on or directly after a word, the that word is transformed into an xml tag, complete with closing tag. When the cusor is not over a word, you will be prompted for a tag name. This works in insert and comment mode.

This plugin depends on the imaps plugin that comes with the vim latex-suite (vim-latex) or can be downloaded separately at http://www.vim.org/scripts/script.php?script_id=244
install details
Copy this file into your ftplugin directory. You may additionally want to create a symlink to it as 'html_taginsert.vim', so that it is also loaded when you edit html files.

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_taginsert.vim 0.9 2008-05-23 7.0 Michael Goerz Initial upload
ip used for rating:

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.
SourceForge.net Logo