[comp.unix.questions] Re^2: vi case-change question

maart@cs.vu.nl (Maarten Litmaath) (07/06/89)

wk@hpirs.HP.COM (Wayne Krone) writes:
\> In vi, I would like to use the '~' operation on more than one character
\
\In addition to Bo's suggestions, HP-UX vi for releases s800 3.0 and
\s300 6.5 or later has been modified to accept a count before the "~"
\operator.  So for your example the command "99~" would do what you
\want.

What you REALLY want is `~' to become an operator, so you can say things like

	~3w
.
-- 
"I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam:
   they're small."  (Stephen Savitzky)    |maart@cs.vu.nl, mcvax!botter!maart

wk@hpirs.HP.COM (Wayne Krone) (07/10/89)

> \In addition to Bo's suggestions, HP-UX vi for releases s800 3.0 and
> \s300 6.5 or later has been modified to accept a count before the "~"
> \operator.  So for your example the command "99~" would do what you
> \want.
> 
> What you REALLY want is `~' to become an operator, so you can say things like
> 
> 	~3w

I thought about doing this but it would mean a single `~' would not
have the effect it now does.  To get the same behavior a user would
have to enter "~l" or perhaps "~~".

Wayne