Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zed-set-filename breaks zed keymap?
- X-seq: zsh-workers 45928
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: zed-set-filename breaks zed keymap?
- Date: Tue, 26 May 2020 21:25:57 -0700
- In-reply-to: <CAH+w=7ZdH+J4nfgfigjm2b_gQQfHMkKhhTCycb-SOp9YwNXSbA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAH+w=7ZdH+J4nfgfigjm2b_gQQfHMkKhhTCycb-SOp9YwNXSbA@mail.gmail.com>
On Tue, May 26, 2020 at 8:30 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> I discovered that even with plain "zed file" after entering the file
> name into read-from-minibuffer, ^X^W no longer works to exit from zed,
> and a bare return DOES exit it.
The documentation for zed-set-file-name seems contradictory as well.
In the first paragraph it says:
... because of zed's rebindings you will have to type ^j at the
end instead of the return key ...
but then the second paragraph says
While zed-set-file-name is running, zed uses the keymap
zed-normal-keymap, which is linked from the main keymap in effect
at the time zed initialised its bindings. (This is to make the
return key operate normally.) ...
The return key does not in fact "operate normally" during
zed-set-file-name, but something else strange is going on with the
keymaps.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author