From: Simon Ruderich Date: Fri, 2 Nov 2012 16:57:00 +0000 (+0100) Subject: vimrc: Add wildignore settings for C, Java, LaTeX and Python. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=ef9cacbdd7feaa188446bf35c22ab0d595067b66;hp=cb51b7930e8f1a116ac33cb385737da2ad95fdd2;p=config%2Fdotfiles.git vimrc: Add wildignore settings for C, Java, LaTeX and Python. --- diff --git a/vimrc b/vimrc index 4f61e5f..b537d17 100644 --- a/vimrc +++ b/vimrc @@ -70,6 +70,18 @@ if exists('+wildignorecase') set wildignorecase endif +" Ignore files with the following extensions because I almost never want to +" edit them in Vim (specifying them manually still works of course). +set wildignore= +" C +set wildignore+=*.o,*.d,*.so +" Java +set wildignore+=*.class +" LaTeX +set wildignore+=*.aux,*.log,*.out,*.toc,*.pdf +" Python +set wildignore+=*.pyc + " Show completion menu even if only one entry matches. if exists('+completeopt') set completeopt+=menuone