I have a long xml just like this:
<events>
<event type="normal">
</event>
<event type="wait" duration="10"/>
<event type="normal">
</event>
<event type="normal">
</event>
....
</events>
Now I want to insert some number attributes just like this:
<events>
<event num="1" type="normal" >
</event>
<event num="2" type="wait" duration="10"/>
<event type="normal">
</event>
<event num="3" type="normal">
</event>
....
</events>
I know VIM must can do that work,but HOW? Thanks a lot, By the way,
though I'm a newbie of VIM,but I really love it ...
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php