doing completion and menu-completion with just one key
From:
Ernest Adrogué
Subject:
doing completion and menu-completion with just one key
Date:
Sat, 4 Jan 2014 14:09:32 +0100
User-agent:
Mutt/1.5.21 (2010-09-15)
Hi there,
This is not a bug per se, just an idea.
On many occasions I find myself repeatedly typing a character followed by
TAB in order to narrow down possible completions, until there is just one
candidate left. This is not efficient, because when there are just 3-4
possible completions it would be more convienent to simply cycle through all
completions like menu-completion does. On the other hand, using
menu-completion is inefficient when the number of possible completions is
high.
One solution is first use completion to narrow down completions and in the
end use menu-completion, but I think it would be much better to use just one
key. In my opinion the best solution would be this: the first TAB does
completion and successive TABs do menu-completion. Currently I don't think
it is possible to configure Readline to do this, is it?
Regards.