From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7498 invoked from network); 14 Jul 1999 17:36:09 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Jul 1999 17:36:09 -0000 Received: (qmail 21548 invoked by alias); 14 Jul 1999 17:35:41 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2435 Received: (qmail 21541 invoked from network); 14 Jul 1999 17:35:39 -0000 X-Authentication-Warning: firewall.qualityic.com: mail set sender to using -f Date: Wed, 14 Jul 1999 09:31:43 -0500 From: Rand Bamberg To: zsh-users@sunsite.auc.dk Subject: vi-mode on linux? Message-ID: <19990714093143.C2459@qualityic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us Hi all -- Has anyone else experienced problems getting vi-mode to work automatically on Linux? I've set both EDITOR and VISUAL to 'vi' and tried different combinations of Linux/zsh versions, with no success: Linux 2.0.36 (RedHat 5.2) and zsh 3.1.5 Linux 2.2.5-15 (RedHat 6.0) and zsh 3.0.5 Linux 2.2.5-15 (RedHat 6.0) and zsh 3.1.5 I poked around and saw (via printf) that my env-settings are being queried successfully and the "main" keymap is indeed being set to vmap ("viins"), but somehow it's getting overridden somewhere along the line. Maybe it's a keycap/terminal issue, and the first time I hit Esc I'm actually clobbering "viins" and entering "emacs"? ...but if I issue "bindkey -v" manually, everything works perfectly. (Also, zsh/vi-mode works automatically on Solaris 5.5.1 and Solaris 5.6 using zsh 3.1.5.) Any ideas? Thanks for your time, Rand. -- -------------------------------------------------------- Rand A. Bamberg rand@svri.com rand@qualityic.com