[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to save filtered less results in a file or on stdout



On Lu, 05 apr 21, 22:29:31, David Wright wrote:
> 
> But I don't know how vim would do on-the-fly filtering like
> less can do with & (not being very familiar with vim).
 
A quick web search suggests:

    :v/pattern/d

press 'u' to undo or ':w filename.txt' to write the result to a 
different file.


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: