Re: finding consecutive lines with specific different words/chars

2014-02-17 Thread Arun E
On Feb 17, 2014, at 12:33 AM, Hagay Spector haga...@gmail.com wrote: Hi! I'm looking for a way in gvim to find the following CONSECUTIVE lines: (I'm numbering the lines for convenience this is not part of the text) 1. this is line 1 and these are the trailing chars sdf 2. this is line

Re: how to delete lines containing a pattern and not containing another pattern?

2014-01-28 Thread Arun E
On Friday, January 24, 2014 4:02:05 AM UTC-8, Chan Kim wrote: On Thursday, January 23, 2014 11:51:16 PM UTC+9, Chan Kim wrote:  I’m a long-time vi(m) user and I have question.Can I remove lines that contain a pattern but not another pattern?For example, Line 1 : rabbitLine 2 : arch