Vim: tab completion on vim command line should work

Created on 10 Sep 2016  路  10Comments  路  Source: VSCodeVim/Vim

What did you do?

ESC : e c:

What did you expect to happen?

tab completion of files in c:\

What happened instead?

nothing

Technical details:

  • VSCode Version: 1.5.1
  • VsCodeVim Version: 0.1.10
  • OS: Win10 Anniversary Edition
arecommandline help wanted kinfeature

Most helpful comment

Any news on this? IMHO - as a vim user - navigating files with :e + autocomplete / tab and switch with :b + autocomplete / tab is super important. Would be very cool and I'd love to switch to vscode :)

All 10 comments

Great suggestion, @lzybkr!

@rebornix any idea if this is even possible? Can we manipulate the text in the popup?

If not, is there another type of display that we _could_ manipulate? We could do the thing I do with search, but that is somewhat subpar.

@johnfn I'm implementing :reg {arg} command and has similar feature request and I'm still playing with that part. If there is not such API, then it's a real valid feature request for VS Code. Will drop more info later.

This should be doable now that we moved the commandline to the status bar

Any news on this? IMHO - as a vim user - navigating files with :e + autocomplete / tab and switch with :b + autocomplete / tab is super important. Would be very cool and I'd love to switch to vscode :)

@lipp this is the only reason I'm still using vim instead to use vscode.

this will probably be a deal breaker for me too.

I have started on a fix for this, it is not complete yet but here is the repo link
https://github.com/keith-ferney/Vim

Hallo,
on a Mac, typing ':e \~/' and then hitting tab does not work for folders -- these are not completed. Tab completion seems to work for files. Typing in a folder name, e.g. '\~/tmp/', tab completion works for the files in this folder. This is also true for e.g. ':b'. Is there a solution/workaround here?

Hello,
I am using VSCodeVim on a ubuntu machine. I have one issue when i tried to use the tab completion for files in the working folder. It seems that the "/" is not added after my current directory when I try to search for files in a folder. For example, I am currently in "workspace/jobs-listing", then when I tried to search for files in my templates folder, I do ":e templates/" in vim command line. Unfortunately, I received the error as shown in the picture.
vscodevim-error

I think this is fixable but I do not know how. Hope to hear from you guys here. Thanks and have a great day!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ACollectionOfAtoms picture ACollectionOfAtoms  路  3Comments

stefanoio picture stefanoio  路  3Comments

spinningarrow picture spinningarrow  路  3Comments

edwintorok picture edwintorok  路  3Comments

WangRongda picture WangRongda  路  3Comments