zsh-users
 help / color / mirror / code / Atom feed
From: Vadim Zeitlin <vz-zsh@zeitlins.org>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re[2]: Default setting of ZLE keymap
Date: Tue, 10 Oct 2023 15:40:24 +0200	[thread overview]
Message-ID: <Mahogany-0.68.0-1755605-20231010-154024.00@dark.tt-solutions.com> (raw)
In-Reply-To: <2105981086.731146.1696937246536@mail.virginmedia.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1490 bytes --]

On Tue, 10 Oct 2023 12:27:26 +0100 (BST) Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:

PS> > On 07/10/2023 22:13 Bart Schaefer <schaefer@brasslantern.com> wrote:
PS> > (1) The whole scheme of using VISUAL / EDITOR to select zsh bindings
PS> > should be abandoned.  It's obsolete and no one uses those variables
PS> > for that purpose any longer.  Zsh should default to emacs behavior
PS> > unless an rc-file explicitly performs "bindkey -v".
PS> >
PS> > Throwing the question out to a wider audience: If the zsh-users list
PS> > expresses no particular preference, or no need for #2, zsh-workers
PS> > will proceed with #1.
PS> 
PS> Seems like a definite green light for this, as far as I can see.
PS> 
PS> It's certainly something I've only ever fallen foul of, but I
PS> speak as an emacs user so am not really in the target user group.

 Just to give a point of view of someone who probably is, I do have a habit
of doing "export EDITOR=vim" when working on somebody else's machine to let
me edit the command line (I'm totally lost with the default key bindings
after so many years of using Vi ones) and also use my preferred editor with
the other programs (notably Git), but I guess this is not a very common use
case.

 Still, I'm not sure how does "nobody uses EDITOR any longer" imply that
zsh shouldn't select the default bindings if it is set: if it's really
never set, there is no harm in continuing to do it and if it is set, it
would help people like me.

 Regards,
VZ

[-- Attachment #2: Type: APPLICATION/PGP-SIGNATURE, Size: 195 bytes --]

  reply	other threads:[~2023-10-10 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-07 21:13 Bart Schaefer
2023-10-08  2:46 ` Ray Andrews
2023-10-10 10:59 ` Eric Cook
2023-10-10 11:27 ` Peter Stephenson
2023-10-10 13:40   ` Vadim Zeitlin [this message]
2023-10-10 19:53     ` Lawrence Velázquez
2023-10-11  0:34   ` Aaron Schrab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Mahogany-0.68.0-1755605-20231010-154024.00@dark.tt-solutions.com \
    --to=vz-zsh@zeitlins.org \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).