I'm working on a large scale project with a lot of files, and :find
is extremely (several seconds) slow, much slower than :lgrep
backed by ag
, which skips directories mentioned in .gitignore
, e.g. tmp
, log
, node_modules
etc.
At the moment I'm using set path=.,**
.
Is there a way exclude specific paths from path
?
Any trick with autocmd
loading .gitignore
and setting path
on VimEnter
will work.