Ⅰ. 插件描述
auto convert gui-only colorschemes to 88/256 color terminal schemesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/guicolorscheme-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/guicolorscheme-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/guicolorscheme-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/guicolorscheme.vim
Ⅳ. 文档说明
I'll admit, I don't use gvim, except on Windows machines. When I'm at a terminal, I'm in front of a 88 or 256 color terminal 90% of the time. Because of this, I have lots of fancy color options, but my vim setup doesn't take advantage of them well because most interesting color schemes are made for gvim and not console vim. Sure, inkpot, desert256, and a handful of others work nicely, but the choices are so limited.
Enter GuiColorScheme. This script converts, as best it can muster, the gui-specific parts of a colorscheme into color numbers for 88 and 256 color terminals (it should also still support gvim as well).
Usage:
:GuiColorScheme <color scheme name>
Tab completion works exactly like the completion for the :colorscheme command, so you can use it to browse through your colorschemes.
For good measure, a screenshot, showing gvim and putty (in 256 color mode):
http://img.phraktured.net/other/guicolorscheme.png