Reputation: 89053
Is there a way I can customize how vim does filename completion when I'm in ex-mode (on the : line)?
:
I never want to tab-complete to some filetypes (*.o, *.hi), and I'd rather they not pop up first.
Upvotes: 5
Views: 273
Reputation: 49018
Put the following in $MYVIMRC
$MYVIMRC
set wildignore=*.o,*.hi