Browse Source

Ignore node_modules and DS_STORE in ctrlp searches

Andrew Swistak 6 năm trước cách đây
mục cha
commit
8707bb3cc3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vimrc

+ 1 - 1
vimrc

@@ -193,7 +193,7 @@ let g:ctrlp_match_window_bottom = 0
 let g:ctrlp_match_window_reversed = 0
 
 " Ignore some filetypes
-let g:ctrlp_custom_ignore = '\v\~$|\.(o|swp|pyc|wav|mp3|ogg|blend)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])|__init__\.py'
+let g:ctrlp_custom_ignore = 'node_modules\|DS_STORE\|\v\~$|\.(o|swp|pyc|wav|mp3|ogg|blend)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])|__init__\.py'
 "let g:ctrlp_by_filename = 1
 let g:ctrlp_clear_cache_on_exit = 0