Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: minor annoyance when I use TAB completion



Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote in
news:CAKc7PVCu1w71id+LxrGbkVHEhfKRwL946UyrZog5xHw2_9XrMg@xxxxxxxxxxxxxx: 

> On Mon, 28 Oct 2019 at 14:22, Fourhundred Thecat <400thecat@xxxxxx>

> 
> 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




Messages sorted by: Reverse Date, Date, Thread, Author