Skip to content

Instantly share code, notes, and snippets.

@dannycroft
Last active February 27, 2019 18:25
Show Gist options
  • Save dannycroft/6609447 to your computer and use it in GitHub Desktop.
Save dannycroft/6609447 to your computer and use it in GitHub Desktop.
Exclude node_modules out of Sublime Text 2 searches
// Add the following to your preferences file
"folder_exclude_patterns":[".git","node_modules"]
@brandonsueur
Copy link

👍 💯

@dayuoba
Copy link

dayuoba commented Apr 13, 2017

nice,thx a lot

@duhovny
Copy link

duhovny commented Nov 17, 2017

Alternatively, you can use:
Find > Find in files... (CMD+SHFT+F)
Where: -*/node_modules/*

@sunlee-newyork
Copy link

@nfantone 👍 thank you!

@codeluggage
Copy link

With node_modules/* this also excludes from cmd+p in Version 3.1.1, Build 3176. Thank you! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment