Skip to content

Filenames with special characters are not supported #105

@ilian

Description

@ilian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions