sponsor Vim development Vim logo Vim Book Ad

vimoutliner-colorscheme-fix : Allows VimOutliner files to work with *any* colorscheme.

 script karma  Rating 63/20, Downloaded by 1160  Comments, bugs, improvements  Vim wiki

created by
Bill Powell
 
script type
syntax
 
description
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/)
 
install details
Assuming you’ve already gotten VimOutliner, just copy the package onto your vim tree (on Unix, usually ~/.vim).  Note that THIS WILL OVERWRITE THE OLD SYNTAX FILE, e.g., ~/.vim/syntax/vo_base.vim, so back it up if you want it around.

Also, I've only tested this on a Linux machine. The actual file has a long name which includes its
Of course, the next type you upgrade VimOutliner, this syntax fix will be wiped out. But I’m posting this on the VimOutliner site; maybe this tweak’ll be in the next version.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vimoutliner-colorscheme-fix-0.2b.tar.gz 0.2b 2007-04-30 7.0 Bill Powell Quick fix in package.
vimoutliner-colorscheme-fix-0.2.tar.gz 0.2 2007-04-30 7.0 Bill Powell Initial upload
ip used for rating: 3.14.141.228

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github