On 2007-01-28, ben lieb <[EMAIL PROTECTED]> wrote:

> I have decided to write some perl filters for vim, but was disappointed
> that it seems I can only filter WHOLE LINES (and not selected parts of
> lines). Is this true?
> 
> I found that...
>  
> :'<,'>!my_filter.pl
> 
> ...is given the whole line, even when only two words in the middle of
> the line are selected. Is there any way to send only parts of lines and
> not the whole line(s).

There is a plugin that lets you do this, vis.vim.  You can find it 
here:

    http://vim.sourceforge.net/scripts/script.php?script_id=1195

HTH,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to