> 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. Wayne