vim-peekaboo


Ⅰ. 插件描述

:eyes: " / @ / CTRL-R

Ⅱ. 基本信息

创建日期:  2015-02-01
使用用户:  528
Github星:  600
插件作者:  Junegunn Choi

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-peekaboo

Peekaboo extends " and @ in normal mode and <CTRL-R> in insert mode so
you can see the contents of the registers.

Installation

Using vim-plug:

Plug 'junegunn/vim-peekaboo'

Usage

Peekaboo will show you the contents of the registers on the sidebar when you
hit " or @ in normal mode or <CTRL-R> in insert mode. The sidebar is
automatically closed on subsequent key strokes.

You can toggle fullscreen mode by pressing spacebar.

Customization

ConfigDefaultDescription
g:peekaboo_windowvert bo 30newCommand for creating Peekaboo window
g:peekaboo_delay0 (ms)Delay opening of Peekaboo window
g:peekaboo_compact0 (boolean)Compact display
g:peekaboo_prefixEmpty (string)Prefix for key mapping (e.g. <leader>)
g:peekaboo_ins_prefixEmpty (string)Prefix for insert mode key mapping (e.g. <c-x>)

License

MIT

添加新评论