Browse Source

ignore node_modules when searching for filenames inside vim

bananicorn 5 năm trước cách đây
mục cha
commit
5b8029ffb6
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      .vimrc

+ 3 - 0
.vimrc

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