Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: New user questions
- X-seq: zsh-users 3003
- From: Zefram <zefram@xxxxxxxx>
- To: Andrew Morton <morton@xxxxxxxxxxxxxxxxxx>
- Subject: Re: New user questions
- Date: Sat, 1 Apr 2000 18:13:04 +0100 (BST)
- Cc: zsh-users <zsh-users@xxxxxxxxxxxxxx>
- In-reply-to: <38E44864.A7072DAE@xxxxxxxxxxxxxxxxxxxxx> from Andrew Morton at "Mar 31, 2000 06:40:36 am"
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author