John,

John Beckett wrote:
> Philip Rhoades wrote:
>> I had a large file and wanted to see only the 
>> lines that contained the search text
> 
> Tim has provided the answer, but here is more:
> http://vim.wikia.com/wiki/Folding_with_Regular_Expression
> http://vim.wikia.com/wiki/Copy_the_search_results_into_clipboard
> 
> It would be good if someone compared Tim's version with the first of the
> above. Please edit the wiki or reply here if the tip should be improved.


Yes, I did find my way to this stuff after comments re Tim's post and 
have been playing with the different methods - I seem to not be able to 
get the +/- extra lines with the context displays and I get a column of 
single digit numbers down the left hand side when I remove the folds - 
but I am not confident enough to say that I am not doing something silly 
. . and that stuff is probably more than I need just at the moment anyway.

Regards,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW      2001
Australia
E-mail:  [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to