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 072ee5f6 for ; Sat, 18 Jan 2020 02:11:47 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id AA9369C107; Sat, 18 Jan 2020 12:11:46 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id E21669C0F7; Sat, 18 Jan 2020 12:11:23 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 2E5479C0F7; Sat, 18 Jan 2020 12:11:21 +1000 (AEST) X-Greylist: delayed 310 seconds by postgrey-1.36 at minnie.tuhs.org; Sat, 18 Jan 2020 12:11:19 AEST Received: from neener.bl.org (neener.bl.org [50.116.26.109]) by minnie.tuhs.org (Postfix) with ESMTP id F0DF89BD25 for ; Sat, 18 Jan 2020 12:11:19 +1000 (AEST) Received: from neener.bl.org (localhost [127.0.0.1]) by neener.bl.org (8.15.2/8.15.2) with ESMTPS id 00I2BJWo002033 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 17 Jan 2020 20:11:19 -0600 (CST) Received: from localhost (mparson@localhost) by neener.bl.org (8.15.2/8.12.8/Submit) with ESMTP id 00I2BJj8018994 for ; Fri, 17 Jan 2020 20:11:19 -0600 (CST) X-Authentication-Warning: neener.bl.org: mparson owned process doing -bs Date: Fri, 17 Jan 2020 20:11:19 -0600 (CST) From: Michael Parson To: The Eunuchs Hysterical Society In-Reply-To: <928BC725-0105-4B38-BC14-A8C04A3C4532@bitblocks.com> Message-ID: References: <20200109012830.GC16808@mcvoy.com> <20200109020720.GG16808@mcvoy.com> <202001090423.0094NooZ379407@darkstar.fourwinds.com> <202001091721.009HLf2V503811@darkstar.fourwinds.com> <928BC725-0105-4B38-BC14-A8C04A3C4532@bitblocks.com> User-Agent: Alpine 2.21 (NEB 202 2017-01-01) X-Marks-The-Spot: --->X MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (neener.bl.org [127.0.0.1]); Fri, 17 Jan 2020 20:11:19 -0600 (CST) 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" On Thu, 9 Jan 2020, Bakul Shah wrote: > On Jan 9, 2020, at 9:21 AM, Jon Steinhart wrote: >> >> It's for that reason that I hate the addition of multiple windows to vi. I >> already have a windowing system on my machine, and that's what I use for windows. >> To me, the correct thing to do is to open a new desktop window to edit a new file >> and start a new instance of vi, not to use vi to open another internal window. > > The Rand editor made good use of multiple windows. You could set things up so > that two windows would scroll *in sync*. This is handy e.g. when you are looking > at two columns or rows that far apart in the same file or in different files and > too large so you need to scroll. For your .vimrc: nmap =f :vsplitwincmd lexe "norm! Ljz":set scb:wincmd h:set scb Don't remember where I picked that up, but this will give you two vim windows, showing your file in both, one-screen's worth apart, with synchronized scolling. -- Michael Parson Pflugerville, TX KF5LGQ