replace a script level var with a query
manually apply #220 to fix NERDTreeFind for hidden dirs