From: zzapper <david@rayninfo.co.uk>
To: zsh-users@zsh.org
Subject: Re: minor annoyance when I use TAB completion
Date: Sat, 2 Nov 2019 14:36:14 -0000 (UTC) [thread overview]
Message-ID: <XnsAAFB948FDBCCCdavidrayninfocouk@195.159.176.226> (raw)
In-Reply-To: <CAKc7PVCu1w71id+LxrGbkVHEhfKRwL946UyrZog5xHw2_9XrMg@mail.gmail.com>
Sebastian Gniazdowski <sgniazdowski@gmail.com> wrote in
news:CAKc7PVCu1w71id+LxrGbkVHEhfKRwL946UyrZog5xHw2_9XrMg@mail.gmail.com:
> On Mon, 28 Oct 2019 at 14:22, Fourhundred Thecat <400thecat@gmx.ch>
>
> I have somewhat a reversed issue. I use:
>
> zstyle ':completion:*:*:*:default' menu yes select search
>
> so I can search through the completions. When I accept an entry,
> either with a double-enter or a space:
>
> bindkey -M menuselect ' ' .accept-line
>
> I then have a space added after the accepted entry. And it doesn't get
> removed when I continue typing, like in the author's post. I would
> like to have it removed. Note, that it's not possible to bind custom
> widgets to the menuselect key map.
>
Any response to this ? The extra space annoys me when I want double tab
expand an alias. Bart S. once showed me a solution but it didn't work
for me.
--
zzapper
https://twitter.com/dailyzshtip
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
prev parent reply other threads:[~2019-11-02 14:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 13:21 Fourhundred Thecat
2019-10-28 13:25 ` Roman Perepelitsa
2019-10-28 13:42 ` Fourhundred Thecat
2019-10-28 15:41 ` Sebastian Gniazdowski
2019-11-02 14:36 ` zzapper [this message]
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=XnsAAFB948FDBCCCdavidrayninfocouk@195.159.176.226 \
--to=david@rayninfo.co.uk \
--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).