Hi Bee!

On Do, 15 Jul 2010, Bee wrote:

> redir global
> 
> :v/^127/
> 
> Will show all lines that do not start with 127
> 
> When I do:
> 
> redir >not127.txt | silent v/^127/ | redir end
> 
> Only the first line is save to the file.
> 
> How to get all lines?

Is this a bug? Anyway, wrap your command in an exe call:
 redir >not127.txt | exe "silent v/^127/" | redir end
That should work.

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

Reply via email to