On Wed, July 28, 2010 2:54 am, winterTTr wrote:
> Let me give an example
> When you want to edit the text between the xml tag, such as <text>editing
> here</text>
> If i can force the <text> and </text> to be read-only, which prevents
> deleting the tag,
> it maybe more convenient for me SOMETIMES.
> OK, until now, i can use selection-mode/visual-mode to select the text
> between tag
> and edit them, but it does not limit the edit area.
>
You can use my Narrow Region plugin
(http://www.vim.org/scripts/script.php?script_id=3075), which opens the
selected region in a new window and
allows you to do all kind of modifications, whithout affecting the original
file.


regards,
Christian

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui