Is it possible to have the CtrlP plugin call out to grep? (git-grep in this case, although I don't expect it makes a big difference).

So it searches the file contents instead of simply listing the files?

Something like Emacs counsel-git-grep, see: example demo.


  1. I've seen some hints that this is possible, but couldn't manage to get it working.
  2. I'm aware of fzf but it seems this depends on external tools that aren't portable across Linux/OSX/Win32.

marked as duplicate by statox, kenorb, DJMcMayhem, Herb Wolfe, Tommy A Feb 8 '17 at 3:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.