Ⅰ. 插件描述
vim script for color palette etc.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/colorpalette-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/colorpalette-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/colorpalette-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/colorpalette.vim
Ⅳ. 文档说明
A very simple range of colors to color words or line temporarily...
http://www.intratel.es/cubica/dominios/joyasur/gtemp/cp.jpg
"USAGE:
"To see the Palette of colors:
"normal mode: ;p
"command: Palette
"To select a color:
"normal mode: <RightMouse> or <Up> <Down> arrows
"To color a word or a line:
"normal mode for background: <Space>
"normal mode for foreground: <M-Space>
"visual mode for background: <RightMouse>
"visual mode for foreground: <M-RightMouse>
"Color HEX and RGB information:
"normal mode: i
"popup menu: info color
"Note: To see in Status-Line the color that has been selected --don´t forget to change the default number of "User".