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

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay