Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Better shown through example, here is the desired behaviour:

~/documents/doc1.txt, ~/documents/doc2.txt, and ~/downloads exist.

The user types:

vim ~/doc<TAB>

Because this completion is not ambiguous (there are no other completions that start with doc), it is expanded to ~/documents/ however in ADDITION, another tab-completion is done automatically afterwards, so after the first tab the user sees:

vim ~/documents/
doc1.txt doc2.txt

Essentially where the user would normally have to press tab twice here, now they only need to press it once.

share|improve this question

You must log in to answer this question.

Browse other questions tagged .