zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Andrew Morton <morton@nortelnetworks.com>
Cc: zsh-users <zsh-users@sunsite.auc.dk>
Subject: Re: New user questions
Date: Sat, 1 Apr 2000 18:13:04 +0100 (BST)	[thread overview]
Message-ID: <E12bRSK-0003Mu-00@crucigera.fysh.org> (raw)
In-Reply-To: <38E44864.A7072DAE@asiapacificm01.nt.com> from Andrew Morton at "Mar 31, 2000 06:40:36 am"

Andrew Morton wrote:
>pwold011:/home/morton> bindkey -D main
>No such keymap `main'

"bindkey -D main" *does* succeed.  The error message is from ZLE,
starting up to edit the next command line, noticing that it can't select
the keymap.  Its behaviour is to fall back on the .safe keymap (see the
"KEYMAPS" section of zshzle(1)).

You almost certainly don't want to delete keymap main.  To create a
completely new keymap, create one with "bindkey -N", giving it a new name,
then you can add to it as much as you want while it's not selected.
*Then* use "bindkey -A" to make "main" a link to your new keymap.
(And presuming that you want to save the keymap permanently, use "bindkey
-L" to dump the keymap in the form of the commands needed to poulate it.)

-zefram


  parent reply	other threads:[~2000-04-01 17:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-30  3:14 Andrew Morton
2000-03-30  5:20 ` Chmouel Boudjnah
2000-03-30  5:27 ` Friedrich Dominicus
2000-03-30 11:12   ` Oliver Kiddle
2000-03-30  6:50 ` Andrej Borsenkow
2000-03-30 18:22   ` Chmouel Boudjnah
2000-03-31  6:40     ` Andrew Morton
2000-03-31  7:45       ` Andrej Borsenkow
2000-03-31 10:33         ` Andrew Morton
2000-04-01 17:13       ` Zefram [this message]
2000-03-30  6:57 ` Andrej Borsenkow
2000-03-30 13:27 ` Zefram
2000-03-31 16:18   ` Bart Schaefer
2000-03-31  7:42 Sven Wischnowsky
2000-03-31 10:42 ` Andrew Morton

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=E12bRSK-0003Mu-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=morton@nortelnetworks.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).