From: Ahmad Ismail <ismail783@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: prints byte sequence when no key is bound to that key sequence
Date: Thu, 22 Oct 2020 15:39:50 +0600 [thread overview]
Message-ID: <CAHAhJwLZQ6cyQvebj7BR29pLfcAU-TGLQGTFffGRJuoy46mx-g@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7YqWVdkN6R+sravPMAviiy5qXehzPpf+1bJjXipGn5D9w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
Hi Bart Schaefer,
After your suggestion, I found the main problem. It was:
_escape-key () {
zle autosuggest-clear # Escape To Clear Suggestion
REGION_ACTIVE=0 # remove selection
}
zle -N _escape-key
bindkey '\e' _escape-key
*Thanks and Best Regards,Ahmad Ismail*
On Thu, Oct 22, 2020 at 2:21 AM Bart Schaefer <schaefer@brasslantern.com>
wrote:
> On Wed, Oct 21, 2020 at 10:21 AM Ahmad Ismail <ismail783@gmail.com> wrote:
>
>>
>> Key BindingsByte Sequence
>> page up [5~
>>
>
> In every one of your examples, the "[" is supposed to be preceded by an
> ESC ($'\e', ^[, whatever) character. I can't tell if you've omitted the
> ESC from your original key binding or if it has been stripped out when you
> tried to paste this table into your email, but that's where you should
> start looking.
>
>
[-- Attachment #2: Type: text/html, Size: 3273 bytes --]
next prev parent reply other threads:[~2020-10-22 9:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-21 17:21 Ahmad Ismail
2020-10-21 20:20 ` Bart Schaefer
2020-10-22 9:39 ` Ahmad Ismail [this message]
2020-10-22 18:01 ` Bart Schaefer
2020-10-24 18:43 ` Ahmad Ismail
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=CAHAhJwLZQ6cyQvebj7BR29pLfcAU-TGLQGTFffGRJuoy46mx-g@mail.gmail.com \
--to=ismail783@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/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).