neovim-fuzzy


Ⅰ. 插件描述

Fuzzy file finding for neovim

Ⅱ. 基本信息

创建日期:  2016-08-20
使用用户:  29
Github星:  91
插件作者:  Alexis Sellier

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'cloudhead/neovim-fuzzy'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'cloudhead/neovim-fuzzy'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'cloudhead/neovim-fuzzy'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/cloudhead/neovim-fuzzy

Ⅳ. 文档说明

neovim-fuzzy

Fuzzy file finding for neovim, via fzy[1].

. Rationale

To my knowledge, fzy delivers the best results out of all fuzzy finders,
including fzf, ctrl-p, command-t and unite. This is due to the advanced scoring
algorithm[2].

. Requirements

  • neovim >= 0.1.5
  • fzy
  • rg[1] or ag[2] >= 0.33.0

. Installation

Install fzy via your package manager, or check https://github.com/jhawthorn/fzy
for instructions.

If you're using vim-plug, add this to your vimrc:

  Plug 'cloudhead/neovim-fuzzy'

You can also copy the contents of this directory into your .vim folder.

. Usage

Add something like this to your vimrc:

  nnoremap <C-p> :FuzzyOpen<CR>

Then hit <Ctrl-P> to open the finder. Hit <Enter> to jump to the selected file
and <Esc> to close the pane. You may also navigate the file list with <Ctrl-N>
and <Ctrl-P>. See the fzy documentation for the full list of key bindings.

When no input is given, fuzzy shows the alternate buffer (also known as '#'),
followed by other open buffers, followed by all other files.

Fuzzy also lets you search within files, via the :FuzzyGrep command. You can
use it on its own, or pass it an expression to search.

添加新评论