فهرست منبع

ignore node_modules when searching for filenames inside vim

bananicorn 6 سال پیش
والد
کامیت
5b8029ffb6
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      .vimrc

+ 3 - 0
.vimrc

@@ -8,6 +8,8 @@ set packpath+=~/.vim
 "lets vim search for files to open recursively
 "lets vim search for files to open recursively
 "for use with the find command
 "for use with the find command
 set path+=**
 set path+=**
+"Yeah, don't search through node_modules
+set wildignore+=**/node_modules/**
 
 
 "turn off the taskbar in gvim
 "turn off the taskbar in gvim
 set guioptions-=m
 set guioptions-=m
@@ -29,6 +31,7 @@ set wildmenu
 "then tab through the options
 "then tab through the options
 set wildmode=longest:list,full
 set wildmode=longest:list,full
 
 
+
 "NO, I don't want ANSI.
 "NO, I don't want ANSI.
 set fileencodings=utf-8
 set fileencodings=utf-8
 set encoding=utf-8
 set encoding=utf-8