diff vim/vimrc @ 140:aec168618b7b

Exclude Python binaries from file listings.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 09 Nov 2013 13:20:50 -0800
parents db9d5fe86723
children 8e555c4986cd
line wrap: on
line diff
--- a/vim/vimrc	Tue Oct 08 08:16:07 2013 -0700
+++ b/vim/vimrc	Sat Nov 09 13:20:50 2013 -0800
@@ -126,7 +126,7 @@
 " Better command-line completion, but don't show some
 " stuff we don't care about.
 set wildmenu
-set wildignore+=.DS_Store,Thumbs.db,*.so,*.dll,*.exe
+set wildignore+=.DS_Store,Thumbs.db,*.so,*.dll,*.exe,*.pyc,*.pyo
 
 " Always display the tab-page line.
 set showtabline=2
@@ -221,8 +221,7 @@
 
 " Ctrl-P should however ignore some stuff.
 let g:ctrlp_custom_ignore = {
-  \ 'dir':  '\v[\/](\.git|\.hg|\.svn|venv)$',
-  \ 'file': '\.exe$\|\.so$\|\.dll$|\.pyc$|\.pyo$'
+  \ 'dir':  '\v[\/](\.git|\.hg|\.svn|venv)$'
   \ }
 
 " Make Ctrl-P cache stuff in our temp directory.