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

Filenames with special characters are not supported #105

Open
ilian opened this issue Mar 21, 2021 · 1 comment
Open

Filenames with special characters are not supported #105

ilian opened this issue Mar 21, 2021 · 1 comment

Comments

@ilian
Copy link

ilian commented Mar 21, 2021

Opening files containing the $ character will evaluate part of the filename as an environment variable. Special characters need to be escaped such that they are not interpreted by vim.

How to reproduce

  1. Create a file with a name containing the $ character (e.g. $PWD.c).
  2. Select the newly created file with ranger.vim to edit.
  3. The wrong file has been chosen to edit by ranger.vim, as seen by executing :ls in vim.
@brianbolnick
Copy link

Bumping this issue, it's especially dominant in Remix land since they use the splat & character for routing. Would love a solution here :)

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