[prev in list] [next in list] [prev in thread] [next in thread]
List: vim
Subject: RE: Wrapping a selection in tags
From: "David Fishburn" <fishburn () ianywhere ! com>
Date: 2006-12-31 19:32:54
Message-ID: 019f01c72d12$786c6760$12f2120a () sybase ! com
[Download RAW message or body]
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic