ranger.vim icon indicating copy to clipboard operation
ranger.vim copied to clipboard

Filenames with special characters are not supported

Open ilian opened this issue 4 years ago • 1 comments

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.

ilian avatar Mar 21 '21 20:03 ilian

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

brianbolnick avatar Aug 16 '22 15:08 brianbolnick