Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 10: Line 10:
 
|version=6.0
 
|version=6.0
 
|rating=8/5
 
|rating=8/5
βˆ’
|category1=Brackets
 
βˆ’
|category2=HTML
 
βˆ’
|category3=XML
 
 
}}
 
}}
 
I often use Vim with the xml.vim plugin script from Devin Weaver {{script|id=301}} for html/xml editing, however it seem to lack the auto-quoting of xml attribute values feature that you find in a lot of IDEs these days. So here is a simplistic but still pretty useful mapping tip you might want to add to your favorite xml plugin Vim script or vimrc:
 
I often use Vim with the xml.vim plugin script from Devin Weaver {{script|id=301}} for html/xml editing, however it seem to lack the auto-quoting of xml attribute values feature that you find in a lot of IDEs these days. So here is a simplistic but still pretty useful mapping tip you might want to add to your favorite xml plugin Vim script or vimrc:
Line 48: Line 45:
   
 
----
 
----
  +
[[Category:Brackets]]
  +
[[Category:HTML]]
  +
[[Category:XML]]
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)