On Fri, Jul 18, 2025 at 06:05:37PM -0700, Bakul Shah wrote:
On Jul 18, 2025, at 4:59???PM, Larry McVoy
<lm(a)mcvoy.com> wrote:
I sort of get "." to repeat the undo but does nvi have a way to redo the
changes you originally did? I've used that to try and track down what
change I did that caused things to break, being able to go back and forth
is useful in a long debugging session.
Let us say you want do undo last 4 changes. You type u...
Now you want to redo 3 of them. You type u..
Basically the second u undoes the undo, and . means repeat!
Hmm, I might be dense but I like vims way of "u" means undo, ^R means
put it back. I do like nvi's u...., I like the . but having "u" mean
undo and redo seems weird.
You say tomato I say tomato :)
--
---
Larry McVoy Retired to fishing
http://www.mcvoy.com/lm/boat