Bug#894536: vim: Name suggestions for edit command should not include directories

David Christensen dpchrist at holgerdanske.com
Tue Apr 3 02:42:05 UTC 2018

On 04/02/18 18:16, Jason Pleau wrote:
> Hi
> On 04/01/2018 01:27 AM, David Christensen wrote:
>> Package: vim
>> Version: 2:8.0.0197-4+deb9u1
>> Severity: wishlist
>> Dear Maintainer,
>> The 'e' (edit) command of Vim has command-line completion.  Items
>> offered include file names and directory names.  Directory names
>> should not be included by default.
>> TIA,
>> David
> I think this is the correct behavior and should stay default.
> Typing :e to edit this file:
> /some/verylongdirectorynames/tohideaveryspecial/file
> I am very grateful to have autocompletion :)

Thank you for the prompt reply.

My use-case is Perl module development.  It is common to have a module 
source subtree such as:


I find that when using ':e' in Vim, I end up opening lib/Foo by accident 
far too often.  Is there a solution?


More information about the pkg-vim-maintainers mailing list