[comp.editors] vi backwards 'e'

wb8foz@mthvax.cs.miami.edu (David Lesher) (04/08/90)

I'd like to make macro that reliably backs up by the ends of
words, in the manner the 'b' does at the beginning. My first
attempts have not worked well, for reasons that become clear
once you try it ;-}

Any suggestions?

-- 
A host is a host from coast to coast.....wb8foz@mthvax.cs.miami.edu 
& no one will talk to a host that's close............(305) 255-RTFM
Unless the host (that isn't close)......................pob 570-335
is busy, hung or dead....................................33257-0335

itkin@mrspoc.Transact.COM (Steven M. List) (04/13/90)

wb8foz@mthvax.cs.miami.edu (David Lesher) writes:

>I'd like to make macro that reliably backs up by the ends of
>words, in the manner the 'b' does at the beginning. My first
>attempts have not worked well, for reasons that become clear
>once you try it ;-}

clearly 
	
	:map -- be

doesn't work since it returns you to the beginning of the current
word and then moves you to the end of that word.  But why not

	:map -- BBE

The only time this won't work is when the prior word is a single letter.
So what!  In most other cases it works perfectly.  Or doesn't this qualify
for David's definition of "reliably"?
-- 
 +----------------------------------------------------------------------------+
 :                Steven List @ Transact Software, Inc. :^>~                  :
 :           Chairman, Unify User Group of Northern California                :
 :     {apple,coherent,limbo,mips,pyramid,ubvax}!itkin@guinan.Transact.COM    :