Ⅰ. 插件描述
Use fzz and the_silver_searcher in Vim as an interactive searchⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mrnugget/vim-fzz'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mrnugget/vim-fzz'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mrnugget/vim-fzz'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mrnugget/vim-fzz
Ⅳ. 文档说明
# fzz.vim
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.
Installation
If you have pathogen.vim you can
install this plugin pretty easily:
cd ~/.vim/bundle
git clone git@github.com:mrnugget/vim-fzz.gitUsage
Just use the :Fzz command to search through files.
:Fzz mykeyword1 mykeyword2This will use mykeyword1 mykeyword2 as the initial values passed to fzz andag.
Use :Fzz to search in a directory:
:Fzz mykeyword1 mykeyword2 ~/code/fzzThis will use mykeyword1 mykeyword2 as the initial values passed to fzz andag and search in ~/code/fzz.
License
Copyright (c) Thorsten Ball. Using the same license/terms as Vim itself. For
more information: :help license.