Hello!

When I am editing XML files, I would like to change the behavior of Xmledit 
(<http://www.vim.org/scripts/script.php?script_id=301>) as follows. 

Having typed
`<tag>Some text', I would like to have `</tag>' inserted when I type (in insert 
mode) `</'. In other words,
`<tag>Some text</_' becomes 
`<tag>Some text</tag>_' (`_' denotes the cursor position).

Having read the help file (:help xml-plugin.txt), I figure I need to set 
xml_tag_completion_map in my _vimrc file to a proper value. However, attempts 
such as
let xml_tag_completion_map = "\<\/"
have failed. Could anyone help me with this?

Regards,
Tuo


      

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to