zsh-users
 help / color / mirror / code / Atom feed
From: Rand Bamberg <rand@qualityic.com>
To: zsh-users@sunsite.auc.dk
Subject: vi-mode on linux?
Date: Wed, 14 Jul 1999 09:31:43 -0500	[thread overview]
Message-ID: <19990714093143.C2459@qualityic.com> (raw)

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


             reply	other threads:[~1999-07-14 17:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-14 14:31 Rand Bamberg [this message]
1999-07-14 18:15 ` dado
1999-07-14 18:35   ` Rand Bamberg
1999-07-14 19:27     ` Bruce Stephens
1999-07-15 14:27 Rand Bamberg
1999-07-15 16:08 ` Stefan Monnier

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=19990714093143.C2459@qualityic.com \
    --to=rand@qualityic.com \
    --cc=zsh-users@sunsite.auc.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).