Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customizing filename completion in Ex-mode

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.

like image 419
rampion Avatar asked Jan 14 '11 22:01

rampion


1 Answers

Put the following in $MYVIMRC

set wildignore=*.o,*.hi
like image 161
Karl Bielefeldt Avatar answered Sep 25 '22 14:09

Karl Bielefeldt