Native build of ViM on Windows uses backslashes in file paths including for completion, though it works fine if I use forward slashes manually (in fact all Windows API understand them, cmd.exe
is the only exception) and backslashes cause various problems, because they double as escape and the "dwim" logic does not really work. For example:
:vimgrep /Foo/ src/*
works just fine, but
:vimgrep /Foo/ src\*
does not, because the \
escapes the *
. Manually I just write forward slash, but tab completion always gives me backslash at the end, so I have to change it all the time.
Is it possible to reconfigure ViM to use forward slashes by default (preferably without recompiling it)?