vim-lotr


Ⅰ. 插件描述

Lord of the Registers

Ⅱ. 基本信息

创建日期:  2014-12-26
使用用户:  13
Github星:  38
插件作者:  Barry Arthur

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

LOTR

Lord of the Regs

TIP: If you like vim-lotr and want to share the W00t!, I'm grateful for
https://www.gittip.com/bairuidahu/[tips] or
http://of-vim-and-vigor.blogspot.com/[beverages].

LOTR displays a persistent view of your Vim :registers in a sidebar window.

== Commands

  • :LOTROpen
  • :LOTRClose
  • :LOTRToggle also available through <PLUG>LOTRToggle which is mapped to <leader>cr by default.

== Within the LOTR window:

  • q closes the LOTR window
  • <space> toggles zoom mode
  • <cr> returns to the prior window

== YankStack

LOTR now shows the :Yanks list from the YankStack plugin. +
Disable this by adding this line to your ~/.vimrc:

let g:lotr_yankstack = 0

添加新评论