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=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 709827ac for ; Thu, 9 Jan 2020 03:27:55 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 7072A9BCCE; Thu, 9 Jan 2020 13:27:54 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id D64369BCA9; Thu, 9 Jan 2020 13:27:18 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=mhorton-net.20150623.gappssmtp.com header.i=@mhorton-net.20150623.gappssmtp.com header.b="ZLWRRZ6c"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 18EAE9BCA9; Thu, 9 Jan 2020 13:27:16 +1000 (AEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by minnie.tuhs.org (Postfix) with ESMTPS id 98921945FC for ; Thu, 9 Jan 2020 13:27:15 +1000 (AEST) Received: by mail-pf1-f171.google.com with SMTP id n9so2623443pff.13 for ; Wed, 08 Jan 2020 19:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mhorton-net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=3GvNCsPSx4LBEDgHK/JkU8HhLYDOgK1WE1Pk/QkUVj4=; b=ZLWRRZ6cwbFmS8AvIlBzwhhPs77Qm2CXUWqAsHL7zTYp7DxsCiO7TGt+6joy/j+R9y b8DqJepNsCECqn+69+x4zwA76BUDL/1k74gt0oKu/HY1MSouJp7hCjwoksq6KSG3UyJi fBbqqKtuvvRgI5UUxvqt2iRHVVIvKUQVfJZ2za5aS6eLZBSQGRz0+Phc5tyyDEwlJ0BS i45RzRC+v64FNtdPDW5wTOKXPDfyVlx2+dtDqynHbAN4Y5ordrGIufOc2EZdDp4xFRcf K4d/npbmn5xHGc4SttJHL76wmQzRJxUoTYGuASj7wO6aybhx+sgmNTqv6c2P/eRNQXW1 SjyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=3GvNCsPSx4LBEDgHK/JkU8HhLYDOgK1WE1Pk/QkUVj4=; b=YmKdd978ilhvGuTi5YUwj+KYh6uhspY4VDX3Rz1TXNij1No92VaDlb50AplI7M84Mt gPwwCLc7eBqDgc57XNgAOouTKO/rQLY9Uo77zW79lFwATQgI2zSWSudvgl/pK/dCKsU2 xqdLtisAdm6SvJpjAXg0cgTE8Rn5zwiul1RxN1voLRfer6m/NtkgO8qPVi+d3uGLQn+S WldDjTQg1Web95YY1UUMxYVwJgAWDXmci7zjDWBdDB9YAdYo27mZRF9VmeiqAc2+W3SL 5b8AcONKQL+HxrY0othSmsaFBWLJU+EUThTyfbagNUWIjOQ0L2ri09L1ZkqQrreBYu/b kZuA== X-Gm-Message-State: APjAAAWSkjLs6laTbwoaHirSKQ3OHI+SsY9DLdn428tijxNRVcW+VZq3 Um6q1p2RZaT3kY/7u1F1D144ljwmRZI= X-Google-Smtp-Source: APXvYqwzYBdQ4igaVaztZ9sWhsEZQEjAHqsVy4rnA0yw2uU2nincLSy16A6HMCn8EinC+MKGpU5uCQ== X-Received: by 2002:a63:5062:: with SMTP id q34mr8798646pgl.378.1578540434916; Wed, 08 Jan 2020 19:27:14 -0800 (PST) Received: from [192.168.1.12] (ip72-197-247-231.sd.sd.cox.net. [72.197.247.231]) by smtp.gmail.com with ESMTPSA id 2sm5026035pgo.79.2020.01.08.19.27.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 19:27:14 -0800 (PST) To: tuhs@minnie.tuhs.org References: <20200109012830.GC16808@mcvoy.com> <20200109020720.GG16808@mcvoy.com> From: Mary Ann Horton Message-ID: <4b810af6-1880-92c2-ef22-4029643d5225@mhorton.net> Date: Wed, 8 Jan 2020 19:27:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------9190575AFB3BD19B119D8835" Content-Language: en-US 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This is a multi-part message in MIME format. --------------9190575AFB3BD19B119D8835 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit vim has an option to undo the vi way. "set cpoptions=u". 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.     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 ;-) > > > > 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: > > > > > 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. > > > > 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. > > Holy crap Clem, you need to embrace that.  His undo goes back forever. > And you can undo the undo and go forward forever. > > 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). > --------------9190575AFB3BD19B119D8835 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

vim has an option to undo the vi way. "set cpoptions=u". 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.

    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 ;-)



On Wed, Jan 8, 2020 at 9:07 PM Larry McVoy <lm@mcvoy.com> 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 <bakul@bitblocks.com> wrote:
>
> > 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.
>
> 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.   

Holy crap Clem, you need to embrace that.  His undo goes back forever.
And you can undo the undo and go forward forever. 

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).
--------------9190575AFB3BD19B119D8835--