text editor

Chad Perrin perrin at apotheon.com
Wed Jun 2 06:03:00 UTC 2010


On Tue, Jun 01, 2010 at 05:23:55PM +0400, Boris Samorodov wrote:
> On Tue, 1 Jun 2010 07:08:42 -0600 Chad Perrin wrote:
> > On Tue, Jun 01, 2010 at 12:21:20PM +0400, Boris Samorodov wrote:
> > > On Mon, 31 May 2010 14:32:04 -0600 Chad Perrin wrote:
> > > 
> > > > Unfortunately, the "killer feature" that keeps me with Vim instead of nvi
> > > > is its support for multiple levels of undo.
> > > 
> > > Have you ever tried "u" (undo command) followed by "." (repeat
> > > last command)? ;-)
> 
> > . . . but how do you redo what you've undone?
> 
> If I understand the question correctly then: it's just one more "u"
> (undo command) followed by "." (repeat last command)...

That's rather odd.  Okay, thanks.  That works beautifully.  I *really*
wish the help stuff for nvi was more helpful so I wouldn't have to learn
this stuff on the mailing list.  All this time, I thought all I could do
with u is one level each of undo and redo.

I suspect I've been mistrained by Vim's subtle incompatibilities with
traditional vi.  Thanks for setting me straight.  I'll give nvi a try as
my primary editor for a while, and see if I run into any other
show-stopping problems.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100602/9b728467/attachment.pgp


More information about the freebsd-questions mailing list