ago and it is pretty great for html:
http://www.vim.org/scripts/script.php?script_id=1697
This is the "surround" plug-in. If you google "vim surround plugin"
there are a few web videos showing how it works, so I won't bother
saying too much. Basically you can place the cursor somewhere and do
stuff like "yss<p>" and the line is wrapped with <p> </p>.
There is a visual block mode. You highlight a block, hit capital S,
type the tag (eg, <div class="main">) and the block is wrapped.
For some reason googlegroups is rejecting my email so I tried sending
this several times, sorry if you got multiple copies.
--
MK <halfcountplus@intergate.com>
--
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
Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en
No comments:
Post a Comment