Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] initialization of main keymap



On Wed, Aug 31, 2022 at 9:48 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Aug 31, 2022 at 6:22 PM Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> >
> > This is silly! Just because my login name contains "vi"
> > on some machines, I get the vi bindings.
>
> How about this?

Now I understand why I always have to specify "bindkey -e" in my .zshrc.

This is assuming that vim users want to use vi bindings in the shell,
which is emphatically not true. The shell is not a text editor, the
flow is completely different, which is why most vim users use emacs
key bindings in the shell.

In my opinion the default should always be emacs bindings, no matter what.

As for the patch: it would miss gvim and nvim.

-- 
Felipe Contreras




Messages sorted by: Reverse Date, Date, Thread, Author