Ⅰ. 插件描述
Lord of the RegistersⅡ. 基本信息
|
Ⅲ. 安装方法
使用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:LOTRTogglealso available through<PLUG>LOTRTogglewhich is mapped to<leader>crby default.
== Within the LOTR window:
qcloses 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