From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: How to see history 'expression' in history rather than the expansion?
Date: Sun, 12 Jun 2022 09:16:33 -0700 [thread overview]
Message-ID: <CAH+w=7bfRq9KeM5WiVFy040erXtNckJ1dy-uf9uxZuPp-bVQHw@mail.gmail.com> (raw)
In-Reply-To: <bab2e230-6e63-2bac-ae72-0a2ee43634c7@rayninfo.co.uk>
On Sun, Jun 12, 2022 at 6:17 AM zzapper <zsh@rayninfo.co.uk> wrote:
>
> ###### I've just remembered/realised that the following widget solves
> that. #####
>
> ###### But will still post this just to get any possible further advice
> #####
>
> bindkey "^h" commit-to-history # ctrl-h
My only further advice would be that ctrl-h may be a somewhat
dangerous binding for this, as you may find yourself in a situation
where backspace and/or delete keys send ctrl-h
next prev parent reply other threads:[~2022-06-12 16:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-12 13:17 zzapper
2022-06-12 16:16 ` Bart Schaefer [this message]
2022-06-13 10:33 ` Pier Paolo Grassi
2022-06-13 10:43 ` Peter Stephenson
2022-06-13 16:02 ` Bart Schaefer
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='CAH+w=7bfRq9KeM5WiVFy040erXtNckJ1dy-uf9uxZuPp-bVQHw@mail.gmail.com' \
--to=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).