ranger.vim
ranger.vim copied to clipboard
Filenames with special characters are not supported
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
- Create a file with a name containing the
$character (e.g.$PWD.c). - Select the newly created file with ranger.vim to edit.
- The wrong file has been chosen to edit by ranger.vim, as seen by executing
:lsin vim.
Bumping this issue, it's especially dominant in Remix land since they use the splat & character for routing. Would love a solution here :)