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,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 4ec36374 for ; Thu, 9 Jan 2020 03:56:24 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 46BC29BCD5; Thu, 9 Jan 2020 13:56:23 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 409659BCA9; Thu, 9 Jan 2020 13:56:04 +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="U7u/XihU"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id CD3C29BCA9; Thu, 9 Jan 2020 13:56:02 +1000 (AEST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by minnie.tuhs.org (Postfix) with ESMTPS id 804BD945FC for ; Thu, 9 Jan 2020 13:56:01 +1000 (AEST) Received: by mail-pj1-f54.google.com with SMTP id d5so528582pjz.5 for ; Wed, 08 Jan 2020 19:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mhorton-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=Wq8r9AoEzIiVVYN5nGbDvuUV5HLdHxO2iu0UL2YrgKo=; b=U7u/XihUtmJ3wZIVI2bTV6CZgpCay3wTXxtcFulJqFMHzHxCTgEmN9V6VaQd9zo62Z 71ZAnVViKv8fUypuQsa1ferJlF3X+xdzhRWidbxQOSlP89rloq/bLu4f1QAPxY0n+oA/ rBc8XNPwBqgONsXnAUw2pKxAqb7WpA3NmRoRIMQ5bieZsCPq91rLlYlbjngSMUefNyo4 UG2BD7UbEY1r5yQ/und4X9E5E3LNcE6P0yuBe6jNluneFhqkEWMQuC0HHyGQZ196vtbn DMro11jd6N3mpVAvv/AevUpiHlH4oJMQu6GyZ+KjV4OPnskmH55KEdg52m5FFtf+T5sK plbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Wq8r9AoEzIiVVYN5nGbDvuUV5HLdHxO2iu0UL2YrgKo=; b=Pw5kfO8kuprU8xtrUWPZleKKQTuOcK4MHO7ZZ0iUIVsaNYe+2JsdIP++YQosGcIIan gQctJvWhWCfonUM6WqMI7I+WlReWHCE274ABvcsydzra1gaAiPz4GrBPGyXBXPBtDCPs lhFTw54UL9dpBlUm5SfkA92pTmAxyQUEFt8IS9lx3yvKubH1Gbq6nP9DhuqtA5Madt1y ceCMuXOGtcyZuleoLPsNgVTBY7TtpSS1tqLRmPCnwsnQ9jRxrJstFyLB/6oHENe6mbn1 DARYQou0uVCjj1DT25iXfa80mExcQggrqB782jJRmDYlqKbtziPjaqk7HC/SFktP9bYW P2jA== X-Gm-Message-State: APjAAAV+bXPPHAGwWHOzqNaB3R0Cx4J/55Rej+F3aMPoaDn8Ka1ZS9HL R4UC+dhulpcpHC8kCRPhljw29qcy72A= X-Google-Smtp-Source: APXvYqyl/gyLRYA2GtSrl6LdG5J/FkJs8gXBJKftUapYh8fiTIkJ8WRLLFtYSHjJKNibt726r4M0Aw== X-Received: by 2002:a17:90a:8986:: with SMTP id v6mr2701119pjn.90.1578542160736; Wed, 08 Jan 2020 19:56:00 -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 f127sm5419687pfa.112.2020.01.08.19.55.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 19:56:00 -0800 (PST) To: Bakul Shah References: <20200109012830.GC16808@mcvoy.com> <20200109020720.GG16808@mcvoy.com> <4b810af6-1880-92c2-ef22-4029643d5225@mhorton.net> <2314D256-9C93-4496-B983-28DE4880F625@bitblocks.com> From: Mary Ann Horton Message-ID: <1442b5d7-12af-86ef-c7de-fa92f848d5ce@mhorton.net> Date: Wed, 8 Jan 2020 19:55:59 -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: <2314D256-9C93-4496-B983-28DE4880F625@bitblocks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Are you referring to the special case where an undo of "p" (put) will sucessively re-insert the most recent things you've deleted? I just tried that in vim and it didn't seem to support the special case the way vi did.     Mary Ann On 1/8/20 7:49 PM, Bakul Shah wrote: > It doesn’t 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: >> >> 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).