This plugin makes it easy to use fzz as an interactive search in Vim. Per default it uses the_silver_searcher (ag) to search through files.
If you have pathogen.vim you can install this plugin pretty easily:
cd ~/.vim/bundle
git clone git@github.com:mrnugget/vim-fzz.git
Just use the :Fzz
command to search through files.
:Fzz mykeyword1 mykeyword2
This will use mykeyword1 mykeyword2
as the initial values passed to fzz
and
ag
.
Use :Fzz
to search in a directory:
:Fzz mykeyword1 mykeyword2 ~/code/fzz
This will use mykeyword1 mykeyword2
as the initial values passed to fzz
and
ag
and search in ~/code/fzz
.
Copyright (c) Thorsten Ball. Using the same license/terms as Vim itself. For
more information: :help license
.