On Sun, 3 Jun 2012 23:15:51 -0400
erik quanstrom <[email protected]> wrote:

> i think you're ignoring the fact that any X command can be undone
> by a single u command.  this isn't just window dressing.  (sorry.)
> as you note, i can repeat {X ...; oops; u} as many times as necessary
> then save all with X:':w.
> 
> how do you propose accompishing multi-file undo without a multi-file
> editor?

I'll admit I don't have anything quite as convenient as that for an
immediate undo. I'd put a cp in the shell loop and for undo: for(f in
*.orig) {mv $f `{echo $f | sed 's/.orig$//'}}. Or use a scm, e.g. git
reset --hard HEAD.


-- 
This is obviously some strange usage of the 
word "simple" that I was previously unaware of.

Reply via email to