Paul F Almquist <[EMAIL PROTECTED]> on Mon, Mar 23, 1998 at 04:13:54PM 
-0600:
> > What sucks is that you can't `/' the current command line, but must move
> > with `w' or the char-wise movements.
> 
> within a line use the "fx" where "x" is the character to find going forward
> (to the right) from the current cursor location
> fa finds the next occurence of "a" on the current line
> 
> within a line use the "Fx" where "x" is the character to find going backward
> (to the left) from the current cursor location
> use ";" to repeat the find in the starting direction
> user "," to repeat the find in the opposite direction
> 
> both F and f may be preceded with a repeat count.
> 
> there is also a "t" and "T", similar to "f" and "F" but stops one character
> short of the target character. 
> 
> think:  f = find,  t = toward
> 
> f ; and , are analogous to / n and N
> F is analogous to ?
> 
> the search target is saved until another find is done so you can
> do a find on a line, make a change (e.g. replace one character (r))
> go to another line repeat the find with ";" and repeat the change
> with ".".  I do this frequently.  a real time saver.

It sure is!! This is great, and I was unaware of its action in vim also.
Many thanks!

-- 
Scott


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to