On Thu, Oct 22, 2009 at 03:23:46PM +0800, pansz wrote:
> 
> [email protected] ??????:
> > Maybe it could  
> > be done with a script, but that's a little beyond me.
> 
> Maybe this script works for you?
> 
> http://www.vim.org/scripts/script.php?script_id=1488

<plug>
I wrote this plugin to help manage color schemes:
http://www.vim.org/scripts/script.php?script_id=2004

This plugin defines a new menu called ColorSchemes.  The plugin will
search for and arrange your installed schemes into two submenus: one
sorted by name and another grouped by the Normal background color.
The plugin tries to fit colorschemes into color categories such as
black, blue, cyan, darkgrey, green, grey, offwhite, red, yellow, etc.
The algorithm works pretty well, if I say so myself.

Drop the plugin into your $HOME/.vim/plugins dir and startup Vim.
It'll take a few seconds to generate the menu the first time.
Afterward, it re-uses the same menu file for subsequent Vim sessions.
When you install new colorschemes later you can regenerate the menu
manually.
</plug>

-- 
Erik Falor
Registered Linux User #445632 http://counter.li.org

Attachment: signature.asc
Description: Digital signature

Reply via email to