Dear list members,

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.

Thanks,

Adriaan.

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