user138095
user138095

Reputation:

Vim hides files with curly braces in path

I am using vim with Nerdtree and FuzzyFinder.

I have files in path foo/{id,id}/

When I open the path with nerd tree the files inside that path are not showing. The same happens with FuzzyFinder.

I presume the curly braces are doing something strange, possibly a find/replace?

Has anyone else experienced this and is there a fix so that I can see the files?

Heres some versions:

Upvotes: 1

Views: 187

Answers (1)

Ingo Karkat
Ingo Karkat

Reputation: 172698

This is probably due to missed / wrong escaping. Many (Unix) shells expand {foo,bar}; this is called brace expansion. Vim has functions like fnameescape(), but they don't work for all (especially such corner) cases. You should probably file a bug on the plugins' issue trackers.

Upvotes: 1

Related Questions