Hi J.A.J.!

On Di, 13 Apr 2010, J.A.J. Pater wrote:

> Let's say I have a piece of text:
> Lorem ipsum dolor sit amet.
>
> Now I want a plugin or piece of vimscript which works like this:
>
> 1. I select a part of this text, in a visual block.
> Let's say the words: dolor sit
>
> 2. I press a certain key combination (not to complex).
>
> The result must be something like this:
> Lorem ipsum <tag> dolor sit </tag> amet.
> In which tag can be anything I like.
>
> I did have a look at xml.vim but I didn't get very far.
> I don't want the burden of full xml either.
> Just very simple tagging.
>
> Hope someone can help.

Though, I have never used it, this sounds like you are looking for the 
surround vim Plugin. I believe this is one of the most used/downloaded 
or best rated plugin available, but I don't know it's URL. Google should 
know it though.

regards,
Christian

-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to