zsh-users
 help / color / mirror / code / Atom feed
From: Marc Chantreux <mc@unistra.fr>
To: Ray Andrews <rayandrews@eastlink.ca>
Cc: zsh-users@zsh.org
Subject: Re: key binding not working
Date: Mon, 26 Sep 2022 05:48:41 +0200	[thread overview]
Message-ID: <YzEhGZhYthOpYhTE@prometheus.u-strasbg.fr> (raw)
In-Reply-To: <3a7dc8b5-0608-8e81-0410-7cabfc69703d@eastlink.ca>

> I get: " ^[OA "  but the " ^[ " is highlighted

the highlighted part is actually \e.

it's more obvious when you use xxd:

	echo <c-v><the key> |xxd

so what about this?

	bindkey "\eOA" history-beginning-search-backward

regards


-- 
Marc Chantreux
Pôle de Calcul et Services Avancés à la Recherche (CESAR)
http://annuaire.unistra.fr/p/20200


  parent reply	other threads:[~2022-09-26  3:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-25 21:14 Ray Andrews
2022-09-25 22:31 ` Bart Schaefer
2022-09-25 22:46   ` Ray Andrews
2022-09-25 23:14     ` Ray Andrews
2022-09-26  3:48     ` Marc Chantreux [this message]
2022-09-27  0:30     ` zkbd (was Re: key binding not working) Bart Schaefer
2022-09-27  1:39       ` Ray Andrews
2022-09-26  1:16   ` key binding not working Ray Andrews
2022-09-26  1:58     ` Lawrence Velázquez
2022-09-26  3:15       ` Ray Andrews
2022-09-26  4:01         ` Lawrence Velázquez
2022-09-26  6:28     ` Roman Perepelitsa
2022-09-26 13:59       ` key binding not working [SOLVED] Ray Andrews
2022-09-26 18:04         ` Ray Andrews
2022-09-26 18:13           ` Roman Perepelitsa
2022-09-26 19:12             ` Peter Stephenson
2022-09-26 19:43               ` Mikael Magnusson
2022-09-26 21:31             ` Ray Andrews
2022-09-26 22:27               ` Vin Shelton
2022-09-26 22:35                 ` Ray Andrews

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=YzEhGZhYthOpYhTE@prometheus.u-strasbg.fr \
    --to=mc@unistra.fr \
    --cc=rayandrews@eastlink.ca \
    --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).