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

:split Can't Open Files With Names That Include Spaces #3824

Closed
raisin-loaf opened this issue Jun 11, 2019 · 1 comment · Fixed by #4032
Closed

:split Can't Open Files With Names That Include Spaces #3824

raisin-loaf opened this issue Jun 11, 2019 · 1 comment · Fixed by #4032

Comments

@raisin-loaf
Copy link

I feel like I'm missing something blindingly obvious here but I can't quite work it out.

Describe the bug
:sp command can't open a file if its name includes a space.

To Reproduce
Change directory to a folder that includes files with spaces in their names. Type :sp plus the first few characters of the file name, hit tab to complete (which happens correctly, including the spaces). Press enter and a notification pops claiming that File: <path_to_working_directory>\<first_word_of_filename> does not exist.

For example - C:\Temp\My Test File.txt
Resulting notification - File: C:\Temp\My does not exist.

I've tried enclosing the file name in single quotes, double quotes and just about anything else I think might work without success.

Files without spaces open just fine.

Expected behavior
A horizontal split will open showing the file specified.

Environment

  • Extension (VsCodeVim) version: 1.8.1
  • VSCode version: 1.35.0
  • OS: Windows 10

All advice very gratefully received!

@stevenguh
Copy link
Contributor

I am working in a fix that fixes #3815 could fix this as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants