From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14495 invoked from network); 2 Sep 2022 13:42:39 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Sep 2022 13:42:39 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1662126159; b=hPLIyIpMokdL8nLTxqjaaRlJJHjqjTckcpu468cwl1fDERro0Caj0E0nAHSiyoMEK5T3lkqwmB h65xNtzQdb823XxqyNW9TiSm+it4AkbOey6cOrn5yRFiTgXLPCEcXVKvuWpHA5tA6lq99o9VWO 5AA4Cu7wmqK6Ragi2oPOaEfgvIBxZJx88HFDwxtyyzWiXUv+Dj1fWnmsLXGiNps5We/7uEVEZl Q24iHcezM1FlQz01BoVsDu5gB8um84E5/GJjvJ38pWDMFdWVaJh6I5vYsD4dqgPGKPqq7itsum loQZFalRJnWwQ+XFmt9Y/a/nJbQh6c2DVZFABdGFGr0yjg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f41.google.com) smtp.remote-ip=209.85.208.41; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1662126159; bh=oorNvlOOB1EHFfLbtzu27DJ+JYLlBbgbN7l6/F+kepQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=nOadLnTL1mXJSKB/dN9P6VHfNxFOqirEx5BwkAYh31ZtwyLJemo+4PrCGiJJOzU/OB9kk/0Ikh Y0F3ry4Qez2+qDiUP7wbjylyb+lDd9Ez3fFuCjOk1IeLXI0/4wE1+fOTR8qCjdgwHKvIkUogI8 QLFZCP9XrZWApeeVIisyBZixh8Sfdo75iXkmDQq7TM9f7Q+piDz78Q2aAivsEJIGAHUOj20csq uKm6iIflnQU7pkbuuv6P+YFvLBqMyW1H+1mN+WIlVcroS/PTTX0uE+khTRjdNmyOPQzLjGutfL u+YedwSi4iQrWIWRToCue9mb2jFcJyN/99b5h5owEOTNRg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=+Q97uniI/mIiFm49reaAFkLlwI+Yu2zeowcpxOeXweU=; b=bJHJops3t2LBsbBnGkhPt6Tbwq lOe08Z4tzhpx8Q8Pq0tzhBMlUbpMjUBLmgj9NW/BcsauqRuKq8/hhgyvxw/BBK/8GX4GbFnjzoYRB 1nIuGWHUHswtAJy6TaR35zKevJ542XP+8P1Q8jw7pNQKd+nQUWBfm+7/p6p6bIA8V8iZXnV5PT1xX tdpRov2w4KkfJctbwBaHlBpnxv5gfG9cIH3wpAS3bhi2ygtleScWvP9ZONMEYeUxBe0GElEoLo6Hl w1j8tK3AQs0tZ4d3xZo6geszhSHuB40cYF4/3m6Cx+VgiwuYePVvlFj+mpZq0ZRK0PtvZdc38lSsf tTCJ7Z1g==; Received: from authenticated user by zero.zsh.org with local id 1oU6wR-000Fj0-1u; Fri, 02 Sep 2022 13:42:39 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f41.google.com) smtp.remote-ip=209.85.208.41; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ed1-f41.google.com ([209.85.208.41]:47055) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oU6wC-000FOr-84; Fri, 02 Sep 2022 13:42:24 +0000 Received: by mail-ed1-f41.google.com with SMTP id s11so2707751edd.13 for ; Fri, 02 Sep 2022 06:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=+Q97uniI/mIiFm49reaAFkLlwI+Yu2zeowcpxOeXweU=; b=W4os4ls66Qgca3LcG8XSwYcG26UyLmSkiivA3yqs47jDVubl6cVBJQwjL8o4SW8TJ6 hsISbuq9ptVKx6s37oDs1Fih3I4/D2oLXXh65L2pEYmYoiLMwRNFwILzc6yY2FPcCuno DUDGfKjZcYEjqcM8hqFYwxuqlaVpugGBPAkep9NWvRetSuTGnpUICqXg12kMnLivDbBa uCjKYnEdI3oLEI86cs6jCfQ8iukdPnA2mJ2Lu5q7Bw6JTjgTUzne7AB8OVkCuGZ3gBnm kIu17GPzmYHQgdYkqdHYOM9iSfmPX3OdI6hpx/8LPQX4bsN0cxO3WOF2hoHfgQ2x+af7 XOdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=+Q97uniI/mIiFm49reaAFkLlwI+Yu2zeowcpxOeXweU=; b=wWtXk0846ncFdoNKqtiC6Gl/VFmSrGHEX72Q1+pFfdplUujwFDAv6DnvSW3cNlf7l+ YUAzBRGwxFb9gSGii1GSeApqHRwXc2nijzUavqYpvdT8xAVfdDv8cGSuBNfvuYTXxtow SigZBfK1vw32/fZWATRUpomcXKuvorBn84yg4peN+D+v5vO7/Mzjx3glI/sKFmTL3Rg3 HnNhbivTN6wDlESfm7Ms4R4X8YMlU71m4QbtwpoaYYRmFa2znGhBcXQO8oOZ6O2fi02r YYXVDsigKJgrdSZL3wcMiOuieG+vTwyF+aVG6ymUCQrMFcJk9luzHwmKsmCgSNhfi59j W6DA== X-Gm-Message-State: ACgBeo3fXuTBXl1BL53TPgSfExyDIKaXnH7UfLosDp+3KfZH7X/krfpH 205L7J34aqJ55TC9xbbxdwrINDmfbG2Q9flkl6cEALOIimSeWg== X-Google-Smtp-Source: AA6agR7bYRKExqyElEeQidKVpWpKiB3jCZrYRK4uG2oUEDop7mLDnuqnI4lyxurWpmsdzLGod9fqKE3htbxJEQgXPSo= X-Received: by 2002:a05:6402:1a36:b0:447:e249:5542 with SMTP id be22-20020a0564021a3600b00447e2495542mr28484727edb.280.1662126143823; Fri, 02 Sep 2022 06:42:23 -0700 (PDT) MIME-Version: 1.0 References: <20220831122842.GC992100@zira.vinc17.org> <20220901002300.GD992100@zira.vinc17.org> <20220901012122.GA1046913@zira.vinc17.org> <20220902085110.GE5920@tarpaulin.shahaf.local2> <20220902132334.GD255755@cventin.lip.ens-lyon.fr> In-Reply-To: <20220902132334.GD255755@cventin.lip.ens-lyon.fr> From: Felipe Contreras Date: Fri, 2 Sep 2022 08:42:11 -0500 Message-ID: Subject: Re: [PATCH] initialization of main keymap To: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 50583 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Fri, Sep 2, 2022 at 8:23 AM Vincent Lefevre wrote: > > On 2022-09-02 08:51:10 +0000, Daniel Shahaf wrote: > > Felipe Contreras wrote on Thu, Sep 01, 2022 at 16:58:05 -0500: > > > most vim users use emacs key bindings in the shell. > > > > Citation needed. > > > > > In my opinion the default should always be emacs bindings, no matter what. > > > > +1 > > I also think that this would be a better choice, in particular for > users with multiple accounts, sometimes on machines with limited > memory or basic installation, where Emacs is not installed. (In > my case, I need to know vi/vim because this is the only one that > is installed everywhere, and I don't want to learn to use another > editor than Emacs or vi.) There's also the fact that not everyone sets these variables. Personally I never used the variable until I realized git used it and could get rid of the core.editor configuration. A user who finds out that EDITOR exists and sets it would certainly be surprised when bindkeys in zsh suddenly don't work correctly. Moreover, there's also the possibility that it's not the user the one who set EDITOR, but the distribution or the system administrator, and again, the user doesn't know about this variable. -- Felipe Contreras