make-element : generic imap to make an xml element of any word you type
| script karma
Downloaded by 1318
Comments, bugs, improvements
script versions (upload new version)
|Bart van Deenen|
|In insert mode, typing anyword,,, gets translated to an xml element named 'anyword'
with the cursor after the element open tag.
If anyword is not on a line by itself, no newline is added.
This is a bold,,, statement ==> This is a <bold>statement</bold>
Use it all the time myself, in docbook and with some custom dtd's.
See vimtip #465
|just source it from ftplugin/xml.vim or ~/.vimrc or _vimrc|
Click on the package to download.
ip used for rating: 22.214.171.124