As of today, when searching the completion menu, we have two options, either search for consecutive characters starting from the beginning of the string, or to fuzzy search.
However, fzf, for example, also has the so called exact mode, which will search for consecutive characters anywhere in the string.
E.g., if we have the following menu items:
Archive/aaron Archive/abrakadabra Archive/aerc
then as of now, to select the aerc folder, we will either have to enter
fuzzy-completeoption disabled, or
However, if we had something like fzf's exact mode, then just
aewould be enough.
What do you think, would it be possible to add such option?
Let's say we have the following binding:
gl = :cf<space>
Given this, earlier, pressing
glwould lead to the popover menu of folders immediately appearing for completion.
Now, back in September somewhere after v.0.12.0-56 something has gone broken, and after pressing
glfor the completion menu to appear we'd still have to press
<Space>or some other key.
Today, with the
completion-min-charsoption introduced, it would make sense that after setting
the completion popover would again appear instantly after pressing
gl. But it still doesn't. Which seems like a bug to me :)
The related part of my
aerc.conffor the reference:
# # Activates fuzzy search in commands and their arguments: the typed string is # searched in the command or option in any position, and need not be # consecutive characters in the command or option. fuzzy-complete=true # How long to wait after the last input before auto-completion is triggered. # # Default: 250ms completion-delay=250ms # The minimum required characters to allow auto-completion to be triggered after # completion-delay. # # Default: 1 completion-min-chars=0 # # Global switch for completion popovers # # Default: true completion-popovers=true