sponsor Vim development Vim logo Vim Book Ad

color_peruse : Peruse, compare, choose color schemes

 script karma  Rating 7/4, Downloaded by 1208  Comments, bugs, improvements  Vim wiki

created by
Walter Hutchins
 
script type
utility
 
description
Peruse, compare, choose color schemes

When the cursor is in the ColorPeruse window:  
<kPlus>      :ColorPeruse 1             (next color)
<kMinus>    :ColorPeruse -1            (prev color)
<kMultiply> :ColorPeruse                 (original color)
<kDivide>   :ColorPeruse 0              (color under cursor)
     =             :call ColorPeruseDel() (remove duplicate lines)
     +             :call ColorPeruseMerge() (append all :set rtp colors to list)
     ?      Help
     :q     quit


You are in vim when in the ColorPeruse window, so you can edit items you
don't like from the list, or place markers to return to re-view particular colorschemes.
You can cut/paste to put favorites or color/lightness groups together
to compare more closely.
Also, since it is in vim, you can save the ColorPeruse list to a file, or
load it from a previous perusal list.


 
install details
copy to ~/.vim/plugin

Put this mapping in .vimrc:
    map <Leader>cp :ColorPeruse<Space>Mylist<CR>:echo g:colors_name<CR>
Then \cp will start it up.
If you once create this 'Mylist' file, it is suggested that you move it
into a directory in vim's runtimepath. Type :set rtp to see this path.
This 'Mylist' file does not have to exist.
In such a list, you may have comments beginning with " which will be ignored,
and you can sort the list in any order you choose.


 

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
color_peruse.vim 1.9 2006-07-31 6.0 Walter Hutchins Minor change to handling file path detection of favorite colors list.
color_peruse.vim 1.8 2006-07-25 6.0 Walter Hutchins Improved options for your favorite colors list.
color_peruse.vim 1.6 2006-07-23 6.0 Walter Hutchins Cursor positions to current colorscheme at startup.
color_peruse.vim 1.5 2006-07-19 6.0 Walter Hutchins Maps keys only in buffer for <kMinus> - Previous color, <kPlus> - Next color, <kMultiply> - Original color, <kDivide> - Color under cursor. Friendlier "missing g:colors_name" message.
color_peruse.vim 1.4 2006-07-18 6.0 Walter Hutchins Maps keys only in buffer for <kMinus> - Previous color, <kPlus> - Next color, <kMultiply> - Original color, <kDivide> - Color under cursor.
color_peruse.vim 1.1 2006-07-14 6.0 Walter Hutchins You can narrow down the the list to your preferred items. You can also reset to the original colorscheme any time.
color_peruse.vim 1.0 2006-07-13 6.0 Walter Hutchins Initial upload
ip used for rating: 18.220.136.165

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