> I'd like to:
> 
>     1. Select some text
>     2. Hit a key sequence such as ;t
>     3. Be prompted for a tag (I'll input something like 'b' or 'h1')
>     4. The text selection will be wrapped in -- say -- 
>        <b>text selection</b>

I created a tip for this:
Tip #346: Wrap text in HTML/XML tags after prompting for the tag name
http://www.vim.org/tips/tip.php?tip_id=346


With some refinements at the bottom (plus a pile of SPAM!!).

HTH,
Dave

Reply via email to