From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 2cfd8198 for ; Thu, 9 Jan 2020 03:50:30 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 2FE229BCDC; Thu, 9 Jan 2020 13:50:29 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id C56009BCB5; Thu, 9 Jan 2020 13:50:08 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id E38D79BCB5; Thu, 9 Jan 2020 13:50:06 +1000 (AEST) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by minnie.tuhs.org (Postfix) with ESMTP id E41BD9BCA9 for ; Thu, 9 Jan 2020 13:50:05 +1000 (AEST) Received: from altos.bitblocks.com (altos.bitblocks.com [192.168.125.3]) by mail.bitblocks.com (Postfix) with ESMTP id 64844156E42D; Wed, 8 Jan 2020 19:49:51 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) From: Bakul Shah In-Reply-To: <4b810af6-1880-92c2-ef22-4029643d5225@mhorton.net> Date: Wed, 8 Jan 2020 19:49:49 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <2314D256-9C93-4496-B983-28DE4880F625@bitblocks.com> References: <20200109012830.GC16808@mcvoy.com> <20200109020720.GG16808@mcvoy.com> <4b810af6-1880-92c2-ef22-4029643d5225@mhorton.net> To: Mary Ann Horton X-Mailer: Apple Mail (2.3445.9.1) Subject: Re: [TUHS] screen editors X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" It doesn=E2=80=99t work the same way. I just tried it = (vim-8.0.something). The way it is supposed to work is this: the first u undoes the last = change. Then you keep hitting . to keep undoing more. Then if you went back too = far, you hit u again, to undo the undo and further . will keep redoing. You = can go back and forth this way as many times as you wish. > On Jan 8, 2020, at 7:27 PM, Mary Ann Horton wrote: >=20 > vim has an option to undo the vi way. "set cpoptions=3Du". There is a = full set of vi-compatible options if you want them. "set cp" turns on = full vi compatiblity. > Funny, I see vim as the vi that comes with UNIX, and never learned the = enhancements, but I just tried it out and I don't have the compatibility = option set. I don't seem to have noticed. I guess I don't do the "undo = toggle" all that often. >=20 > Mary Ann > On 1/8/20 6:12 PM, Clem Cole wrote: >> make a new command, don't break the old one.... maybe offer a way to = map the new one over the old -- but don't make it the default. >> and my lawn was lush and green before the snow came ;-) >>=20 >>=20 >>=20 >> On Wed, Jan 8, 2020 at 9:07 PM Larry McVoy wrote: >> On Wed, Jan 08, 2020 at 09:04:46PM -0500, Clem Cole wrote: >> > On Wed, Jan 8, 2020 at 8:41 PM Bakul Shah = wrote: >> >=20 >> > > The first thing I do on a new machine is to install nvi. Very = grateful to >> > > Keith Bostic for implementing it. I do use multiple windows ??? = only >> > > horizontal splits but that is good enough for me as all my = terminal >> > > windows are 80 chars wide. Not a vim hater but never saw the = need. >> >=20 >> > I pretty much do the same thing. I think what I hate about vim is = that it's >> > almost, vi but not the same. My fingers screw up when I use it. = For >> > instance, he 'fixed' undo. =20 >>=20 >> Holy crap Clem, you need to embrace that. His undo goes back = forever. >> And you can undo the undo and go forward forever. =20 >>=20 >> Not liking that puts you in the "get off my lawn" old guy camp. = Which >> is fine if that's who you want to be (sometimes I'm that guy).