Ⅰ. 插件描述
All 256 xterm colors with their RGB equivalents, right in Vim!Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'guns/xterm-color-table-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'guns/xterm-color-table-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'guns/xterm-color-table-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/guns/xterm-color-table.vim
Ⅳ. 文档说明
__) ) ______)
(, |/ (__/_____) /) (, / /) /)
| _/_ _ __ ____ / ___// _____ / _ (/_ // _
) /|_ (___(/_/ (_/ / /_ (_/ (_)(/_(_)/ (_ ) / (_(_/_) (/__(/_
(_/ (______) (_/
guns <self@sungpae.com>
- License: MIT
- Homepage: http://github.com/guns/xterm-color-table.vim
NOTES:
- Provides command :XtermColorTable, as well as variants for different splits
- Xterm numbers on the left, equivalent RGB values on the right
- Press
#
to yank current color (shortcut for yiw) - Press
t
to toggle RGB text visibility - Press
f
to set RGB text to current color - Buffer behavior similar to Scratch.vim
SCREENSHOTS:
With RGB visibility toggled:
INSPIRED BY: