]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Add wildignore settings for C, Java, LaTeX and Python.
authorSimon Ruderich <simon@ruderich.org>
Fri, 2 Nov 2012 16:57:00 +0000 (17:57 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 2 Nov 2012 16:57:00 +0000 (17:57 +0100)
vimrc

diff --git a/vimrc b/vimrc
index 4f61e5f7de19a05fe02e627aed78bd42390c0f08..b537d1723e0d9b949333bfa4f69ce6c7ac9c279c 100644 (file)
--- 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