fzf-neoyank


Ⅰ. 插件描述

Allows browsing and putting any register history saved with neoyank

Ⅱ. 基本信息

创建日期:  2016-03-24
使用用户:  1
Github星:  7
插件作者:  Justin Howard

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/justinhoward/fzf-neoyank

Ⅳ. 文档说明

# fzf-neoyank

Allows browsing and putting any register history saved with Neoyank.

An FZF source for neoyank. FZF is a fuzzy finder compatible with vim.
Neoyank saves yank history. Combining the two creates a fuzzy finder for your
yank history.

Requirements

Usage

The :FZFNeoyank command opens an FZF pane with the history of the default

  1. Selecting an item from the list puts it into the current buffer.

The :FZFNeoyankSelection command does the same thing, but replaces the visual
selection.

Key Mappings

This plugin doesn't have any default key mappings. Some useful mappings might
be:

nnoremap <leader>y :FZFNeoyank<cr>
nnoremap <leader>Y :FZFNeoyank " P<cr>
vnoremap <leader>y :FZFNeoyankSelection<cr>

These mappings set up <leader>y to put from the default register. If you are
in normal mode, it puts after the cursor. If you are in visual mode, it replaces
the selection.

It also sets up <leader>Y (uppercase) to put after the cursor in normal mode.

Documentation

For complete command and argument documentation, check
doc/fzf_neoyank.txt, or

:help fzf-neoyank

添加新评论