From b68f936b3b3b638a6da4e820b7d8cf427910413b Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 9 Jun 2012 16:32:28 -0500 Subject: [PATCH] .vimrc: Add wildignore exclusions --- .vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.vimrc b/.vimrc index ebdbeed..1dc8b93 100644 --- a/.vimrc +++ b/.vimrc @@ -132,6 +132,17 @@ set formatoptions+=n " support for numbered/bullet lists "set textwidth=110 " wrap at 110 chars by default set virtualedit=block " allow virtual edit in visual block .. +" ---------------------------------------------------------------------------- +" Filename exclusions +" ---------------------------------------------------------------------------- + +set wildignore+=.hg,.git,.svn " version control directories +set wildignore+=*.jpg,*.jpeg,*.bmp,*.gif,*.png " image files +set wildignore+=*.o,*.obj,*.exe,*.dll " compiled object files +set wildignore+=*.pyc " Python byte code +set wildignore+=*.sw? " Vim swap files +set wildignore+=.DS_Store " OSX junk + " ---------------------------------------------------------------------------- " Tabs " ---------------------------------------------------------------------------- -- 2.45.2