Browse Source

ignore node_modules when searching for filenames inside vim

bananicorn 5 years ago
parent
commit
5b8029ffb6
1 changed files with 3 additions and 0 deletions
  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