Explorar o código

ignore node_modules when searching for filenames inside vim

bananicorn %!s(int64=5) %!d(string=hai) anos
pai
achega
5b8029ffb6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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