Tuesday, April 30, 2013

:Explore shows nothing if path contains an embedded tilde (Windows)

I’m running gvim 7.2 on Windows 7.

 

If I attempt “:Explore” or “:e .” when any folder in my current working directory contains a tilde (e.g., “my~example_folder”), the Netrw Directory Listing buffer displays nothing below the last row of equals signs. Not even “../” is displayed. There is no netrw hiding list set, so the “a” key has no effect. Interestingly, the hyphen key still works to go up a directory level.

 

I’m at the mercy of a commercial configuration management tool that insists on putting tildes in folder names.

 

Is there a solution?

No comments: