Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab completion for :vnew and :tabnew #3479

Closed
alvaroaleman opened this issue Feb 9, 2019 · 1 comment
Closed

Tab completion for :vnew and :tabnew #3479

alvaroaleman opened this issue Feb 9, 2019 · 1 comment

Comments

@alvaroaleman
Copy link

Is your feature request related to a problem? Please describe.

I am used to open files in Vim by going to command mode, then entering :vn or :tabn, then pressing tab to have the command completed. After that, I usually enter one or two letters of the filename, press tab again and vim shows all matches. I can cycle through them and press enter to open the file. If the file is a directory, vim completes with a trailing / and if I press tab again, it lets me cycle through the files in that directory.

Describe the solution you'd like

  • <escape>:vn<tab> being completed to the :vnew command
  • <escape>:tabn<tab> being completed to the :tabnew command
  • Pressing tab after the :tabnew or :vnew command letting me cycle through the files in the current directory
  • Pressing tab after the :tabnew $LETTER or :vnew $LETTER command where $LETTER can be an arbitrary number of letters that are valid as part of a filename letting me cycle through the available files or directories that start with $LETTER, pressing then <enter> opens the file

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@J-Fields
Copy link
Member

J-Fields commented Aug 5, 2019

Closing this issue as autocomplete support was added a while back.

@J-Fields J-Fields closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants