Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Re: zed-set-filename breaks zed keymap?
- X-seq: zsh-workers 48709
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] Re: zed-set-filename breaks zed keymap?
- Date: Sun, 25 Apr 2021 13:55:03 -0700
- Archived-at: <https://zsh.org/workers/48709>
- In-reply-to: <CAH+w=7bV1nTYjfpafs1HM1gxnCDqpPZqfSpK5gBqHZ-LDJbccQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZdH+J4nfgfigjm2b_gQQfHMkKhhTCycb-SOp9YwNXSbA@mail.gmail.com> <CAH+w=7bCUavuPzMKvJtu0mvrp8HuzGUdpkXbF7ZkxTWWkPx3QQ@mail.gmail.com> <CAH+w=7bV1nTYjfpafs1HM1gxnCDqpPZqfSpK5gBqHZ-LDJbccQ@mail.gmail.com>
On Sun, Apr 25, 2021 at 12:35 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> So ... what's the correct fix here? Shortest is to change
> zed-set-file-name to use
> bindkey -A zed-normal-keymap main
> Attached patch does that.
>
> + local curcontext=zed-set-filename:::
(Typo, should be "file-name", will fix if/when committing)
Incidentally, invoking _complete_help from either zed or
zed-set-file-name gives output like this:
-----
% zed foo
File name:
_help_sort_tags:comptry:8: no tags registered
File name:
tags in context :completion:zed-set-file-name:complete:-value-,var,::
use-compctl (_default _value _value _in_vared)
-----
Is an error message from comptry really appropriate? Easily enough
discarded in _complete_help, but under what circumstances would one
ever want that error?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author