zsh-users
 help / color / mirror / code / Atom feed
From: "Oliver Kiddle" <okiddle@yahoo.co.uk>
To: Jeff Shipman <shippy@nmt.edu>
Cc: zsh-users@sunsite.dk
Subject: Re: vim bindings from nowhere
Date: Fri, 30 Mar 2001 17:49:18 +0100 (BST)	[thread overview]
Message-ID: <20010330164918.73539.qmail@web9303.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.31.0103300931430.24326-100000@neptune>

--- Jeff Shipman <shippy@nmt.edu> wrote: >
> The account without zle vi mode probably has a 'binkey -e' in its
> > /etc/zshrc (or similar).

> Nope, none of my accounts have 'bindkey -e' and neither
> do any of my /etc/zsh* files.

bindkey -e was the solution. export EDITOR=vim or export VISUAL=vim are
the likely culprits. bindkey -v could also be a culprit.

Just put bindkey -e (or bindkey -me) in every .zshrc you have just
before any other bindkey command.

EDITOR or VISUAL could well be set to vi somewhere else like
/etc/profile. You could also try setting them to something else.

It still annoys me that whenever I do zsh -f, I get vi key bindings. I
even set $EDITOR to pico once to avoid this but discovered that quite a
few things actually use $EDITOR.

Oliver


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie


      reply	other threads:[~2001-03-30 16:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-29 23:25 Jeff Shipman
2001-03-30  0:17 ` Geoff Wing
2001-03-30  0:18 ` Bart Schaefer
2001-03-30  1:33   ` Jeff Shipman
2001-03-30  1:48     ` Matt Armstrong
2001-03-30 16:33       ` Jeff Shipman
2001-03-30 16:49         ` Oliver Kiddle [this message]

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=20010330164918.73539.qmail@web9303.mail.yahoo.com \
    --to=okiddle@yahoo.co.uk \
    --cc=shippy@nmt.edu \
    --cc=zsh-users@sunsite.dk \
    /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).