From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28021 invoked from network); 30 Mar 2001 16:49:47 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Mar 2001 16:49:47 -0000 Received: (qmail 4592 invoked by alias); 30 Mar 2001 16:49:20 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3780 Received: (qmail 4529 invoked from network); 30 Mar 2001 16:49:19 -0000 Message-ID: <20010330164918.73539.qmail@web9303.mail.yahoo.com> Date: Fri, 30 Mar 2001 17:49:18 +0100 (BST) From: =?iso-8859-1?q?Oliver=20Kiddle?= Subject: Re: vim bindings from nowhere To: Jeff Shipman Cc: zsh-users@sunsite.dk In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- Jeff Shipman 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