Re: [Lug-Nuts] vi find

From: Harry Souders (hsouders@pacbell.net)
Date: Tue Sep 21 1999 - 20:55:56 PDT


> give more attention to get hooked up with this vi-addiction. how do i do
> a find for a string in vi?

Pretty simple, and easy to remember after a few times:

To search forward:

/<what_you_are_searching_for_goes_here>

To search backwards:

?<what_you_are_searching_for_goes_here>

To search for the next occurance:

Just tap the "n" or "N" key.

What ya reallly need to do in my opinion is use vim. If you need help
in vim just type:

:help

-----------------------------------
Harry Souders - hsouders@pacbell.net
-----------------------------------



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:20 PST