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

Sem picture Sem · Jul 15, 2016 · Viewed 37.3k times · Source

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?

Answer

Sem picture Sem · Jul 20, 2016

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