Generate a menu with your colorschemes using the Vim plugin, ColorSchemeMenuMaker. The software automatically creates the menu for easy access to your available schemes.
The plugin scans through the directories in your &runtimepath, searches for installed colorscheme files and adds them to a menu called ColorSchemes. This menu is then sorted according to the predominant color of each color scheme. The colorschemes are also stored alphabetically by name in the menu.
ColorSchemeMenuMaker analyzes the guibg option of the Normal highlight group to determine the basic color to file the scheme under. The plugin categorizes each theme under one of the following categories: black, blue, cyan, darkgrey, green, grey, offwhite, orange, purple, red, white, yellow, or unknown if no background color is specified. However, this heuristic is still a work in progress, and the color selection may not always be accurate.
If new color schemes are installed, users can force a re-scan by clicking 'Rebuild Menu' in the ColorSchemes menu. 'Reload Menu' simply forces Vim to re-source an already generated menu file. The menu entry that appears with an asterisk before it indicates a color scheme that contains more than one "hi Normal" command. This script assumes that the first such command encountered is the one that will be executed. Such entries are not guaranteed to be sorted correctly.
Since version 0.6, this plugin includes an autoload plugin that facilitates tweaking the color selection algorithm. This plugin contains a Perl script that generates an HTML page showing the Normal background color for each installed theme, along with the plugin's guess at which category it should be filed under. The plugin keeps track of the three previous guesses and highlights the colorschemes that have been affected by your changes.
ColorSchemeMenuMaker requires Vim to run and can be installed by unpacking the archive in your $HOME/.vim directory. The next time you start Vim, it will detect that the file ColorSchemes.vim is not present and will add all of your color schemes to the menu. ColorSchemes.vim is written in the same directory as the main plugin. Subsequently, Vim will use the generated file instead of re-scanning all of your color schemes.
In conclusion, ColorSchemeMenuMaker is a useful Vim plugin for users who want quick access to their favorite color schemes. With its algorithm that sorts colors by predominant color and the ability to tweak the algorithm, users can easily organize and access all of their color schemes.
Version 1.0: N/A