Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.