vim-buffest


Ⅰ. 插件描述

Edit vim registers/macros and lists as buffers.

Ⅱ. 基本信息

创建日期:  2018-07-25
使用用户:  1
Github星:  24
插件作者:  rbong

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-buffest

Easily edit vim registers/macros and lists as buffers.

demo video

Examples

Opening registers

All of the named registers, as well as the ", *, and + registers, are supported.
Some different ways to edit register a (case insensitive):

c@a
:Regsplit a
:Regvsplit a
:Regtabedit a
:Regedit a
:Regpedit a

Repace a with <register> to edit that register.
Additionally, c@@ opens the " register.

Opening the quickfix list

c\q
:Qflistsplit
:Qflistvsplit
:Qflisttabedit
:Qflistedit

Opening the location list

c\l
:Loclistsplit
:Loclistvsplit
:Loclisttabedit
:Loclistedit

Opening lists with specific fields shown

:Qflistsplit filename lnum
:Loclistsplit filename lnum

Reloading and writing

Write a buffer to the target:

:w

Reload the contents of the buffer:

:e

Force reload the contents of the buffer:

:e!

Remapping

This will change the default mappings:

nnoremap <leader>br <Plug>BuffestRegsplit
nnoremap <leader>bq <Plug>BuffestQflistsplit
nnoremap <leader>bl <Plug>BuffestLoclistsplit

Other commands can be mapped in the same way.

Contributing

Before contributing please read CONTRIBUTING.md.

添加新评论