Search code examples
searchvimneovim

How do I search in all files of my project using VIM?


There are a couple of things I do not yet understand the VIM way.

One of these is searching in a project like so (using VIM in Atom):

enter image description here

I use CtrlP currently for file names, but what about the contents?

How can I search with a string, and then look through a list of all occurrences using VIM and/or VIM plugins?


Solution

  • I've found an even better solution for this: FZF

    It simply searches through everything in your project asynchronously using the :Ag command.

    enter image description here