rampion
rampion

Reputation: 89053

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.

Upvotes: 5

Views: 273

Answers (1)

Karl Bielefeldt
Karl Bielefeldt

Reputation: 49018

Put the following in $MYVIMRC

set wildignore=*.o,*.hi

Upvotes: 5

Related Questions