qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.64k stars 218 forks source link

Crash at startup if CWD has a space #912

Closed edgarcosta closed 2 years ago

edgarcosta commented 2 years ago

With an empty config file, vimR crashes every time I try the absolute path of the current working directory that has a space.

~ > mkdir "foo bar"  ✔
 ~> which vim ✔
 vim: aliased to /Applications/VimR.app/Contents/Resources/vimr
  ~ > vim  ✔
 ~ > cd foo\ bar ✔
 ~/foo bar > vim ✘

crash report : https://gist.github.com/edgarcosta/3fda6dd7a698d19ca43235d04199222d

edgarcosta commented 2 years ago

I can also add, that if vimR is already open, and I do

~/foo bar > vim foo ✔

then the path of the new buffer is ~/foo+bar/.