make-element : generic imap to make an xml element of any word you type
| script karma
Downloaded by 1415
Comments, bugs, improvements
|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|
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 220.127.116.11