vimoutliner-colorscheme-fix


Ⅰ. 插件描述

Allows VimOutliner files to work with *any* colorscheme.

Ⅱ. 基本信息

创建日期:  2007-04-30
使用用户:  1
Github星:  1
插件作者:  Bill Powell

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vimoutliner-colorscheme-fix

Ⅳ. 文档说明

If you're familiar with VimOutliner, at http://vimoutliner.org, you know it's a fantastic outlining tool that can easily become your default way to use Vim. The one major annoyance I've found is that it ships with one or two colorschemes.
Unlike most syntax files, the colors are hard-coded in, so if you try to use a different colorscheme, the syntax highlighting disappears.

Fortunately, there's an easy fix. This tiny package is simply an updated syntax file, in which I have linked the syntax groups to established Vim groups, like Normal, Comment, and so on. You can now open a VimOutliner file in any colorscheme you like.

You’ll still get some occasional weirdnesses (certain elements can default to invisible), in which case you can either change colorschemes, tweak the colorscheme itself, or tweak syntax/vo_base.vim. Anyhow, it usually works.

(More info at http://www.billpowellisalive.com/2007/01/vimoutliner-and-a-tweak-to-use-colorschemes/)

添加新评论