Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SUGGESTION: Simplify auto-completion, a little
On Feb 15, 11:29pm, Peter Stephenson wrote:
} Subject: Re: SUGGESTION: Simplify auto-completion, a little
}
} > you should try setting up menu-selection (so that the first tab would
} > take you into a different keymap where "m" would select from among
} > the possible choices).
}
} Hmm... I'm not sure how easy it is to do that at the moment. There is a
} keymap for menu-selection, but I think it's only got a limited set of
} functions to do with the menu
You're right. I was thinking of something that incremental-complete-word
does, and attributing it to menu selection.
But even i-c-w's not quite as automatic as was requested. Even if there
is only one completion, you have to confirm that it's correct by hitting
an extra tab. Completion tends to assume that there's always a chance
you may want to enter something that's not on its list of choices.
I.e., that it's better to hit one extra tab than to have to backspace
over half an unwanted word.
However, it might be interesting to have incremental-complete-word accept
the current completion on space as well as tab (optionally, I suppose).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author