The native ViM build on Windows uses a backslash in the file path, including for completion, although it works fine if I use direct slashes manually (in fact, all Windows APIs understand them, cmd.exe is the only exception). and backslashes cause various problems because they double as an escape, and the dwim logic doesnβt actually work. For instance:
:vimgrep /Foo/ src/*
works fine but
:vimgrep /Foo/ src\*
does not work because \ goes beyond * . In manual mode, I just write a slash, but ending the tab always gives me a backslash at the end, so I have to constantly change it.
Is it possible to reconfigure ViM to use the default slash (preferably without recompilation)?
source share