[TriLUG] Negative search in Vi
hunteke at earlham.edu
Wed Apr 16 15:22:47 EDT 2008
Cool! I'm not sure I like the ex interface, but thanks for teaching me
that trick with / searches:
'/word/3' then 'n'
'/word/-2' then 'n'
Carl Crider wrote:
> nice, i had not used the ex mode until reading this.
> On Wed, Apr 16, 2008 at 11:45 AM, <wejii at bellsouth.net> wrote:
>> In vi you can use the ex commands ( g for global in this case )
>> This will go to each line after "word" when you type "n" (next).
More information about the TriLUG