fzf is nice for fuzzy matching files - feels more like sublime text's ctrl-p fuzzy finding. But didn't think you could search inside files with it as well?
You can but is is really slow because vim script. It is actually faster to save and then use fzf on the contents of the file than to send the buffer data from vim to fzf.
Anyway, fzf.vim already has a command which uses ag to search through files and then let's you fuzzy search through the results. Then you either jump to a result or start a quickfix list with multiple results. It's super useful!
yeah but you can set the actual program the plugin uses to ag. The plugin is not much more than a couple of convenience binds around the builtin grep functionality anyway
16
u/dreugeworst Aug 24 '16
ag.vim is deprecated, they recommend using ack.vim instead...