Hability to use autocmd and enable indexing only for desired filetypes

  1. obxhdx

    Hi, I'm a Linux user and whenever I open Vim from my home dir I get it stuck indexing all my music folders and stuff like that.

    I've found a plugin called gitgnore.vim that automatically sets the wildgnore variable for all .gitgnore file entries. The problem is that it reads a ".gitgnore" from the current dir, so I'd have to put .gitignore files everywhere.

    What I think that would be much better is to have a flag to disable Command-T indexing, so I could use autocmd on my .vimrc and enable it only for the filetypes I want.

Reply

This topic is now closed.