I have a very large number of files under a specific directory.
If I start
vim from the wrong place,
command-t tries to index the whole thing, which results in vim hanging for a long time before
command-t gives up saying that there are too many files.
I don't want the content of that directory to be indexed by
command-t, so following
:help command-t-wildignore I tried setting
set wildignore before trying
command-t confirms that
wildignore is correctly set up.
command-t keeps on not ignoring said folder.
I also tried with
:set wildignore=relative/path/to/folder/* but to no avail (and I would prefer to ignore a specific folder with its absolute path anyway).
I didn't find the explanation of how to use
wildignore particularly clear though, so I may be using the wrong syntax.
What syntax should be used for this to work properly?