DEV Community

SeongKuk Han
SeongKuk Han

Posted on

Neovim how to ignore directories like node_modules in Telescope

Using the file_ignore_patterns option in Telescope can significantly slow down performance.

Instead, consider installing ripgrep.

By default, ripgrep automatically excludes files inside the node_modules directory, ensuring efficient file searching without impacting performance.

You don't even need to set up anything after installing.

It is a short info. Hope some of you found it helpful.

Happy Viming!

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

๐Ÿ‘‹ Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay