1
1
Fork
You've already forked randomer.vim
0
A meta-colorscheme for Vim that randomizes all the colors on each run.
  • Vim Script 100%
2025年07月21日 13:40:43 +03:00
colors reorganize repo directories, update readme, and add randomized examples dir 2025年07月21日 00:55:29 +03:00
randomer-examples/colors add one more example i liked 2025年07月21日 13:40:43 +03:00
samples add sample screenshots 2025年07月21日 03:07:12 +03:00
README.md add sample screenshots 2025年07月21日 03:07:12 +03:00

Randomer - A Vim "colorscheme" that randomizes its palette each run

About

*Cheesy salesperson tone*:
Tired of your existing collection of Vim colorschemes?
Tried out every single colorscheme from vimcolorschemes.com?
Want to add some fresh color into your life?
Or maybe just feel like playing about?

Come try out a shamelessly vibe-coded (because I don't really know Vim script) Vim colorscheme that looks different everytime you open a file!

Setup

Simply put ./colors/randomer.vim in ones ~/.vim/colors/ directory.

Configuration

Two elements that most users may often not want to randomize are the background color and the comments' color. One may override them to hard-coded values directly in the colorscheme's file (commented as "Override color used for"...).

Basic usage

Activate like any regular Vim colorscheme from within Vim by typing :colorscheme randomer (or set in ones .vimrc).

Tip: Add a mapping to ones .vimrc for quick recycling of this colorcheme: nnoremap <leader>r :colorscheme randomer<CR>

Explorative usage

To save a randomized a colorscheme palette that one likes:

  1. Use the command :call RandomerColorschemeExportPalette() to echo the color values.
  2. Copy the output lines and paste somewhere temporary.
  3. Copy the colorscheme's file to a new file (rename).
  4. In the new file:
    • Paste the copied output lines (step 2) into the "middle portion" (commented as "For saving a custom colorscheme"...).
    • Modify the g:colors_name value (in the g:RandomerColorschemeMain function) to a name of your choice (suggested: match the new file name).
    • Optional: Remove any code above pasted variables.

In this repository's ./randomer-examples/colors/ directory one can find examples of the final result of these steps.

Sample screenshots

Here are some randomzied colorschemes I liked, saved, and named:

Blood Clot has some dark veiny and arterial vibes...

bloot-clot

Diamondus night tribute reminded me of a specific planet in my childhood favorite Jazz Jackrabbit 2!

diamondus-night-tribute

RGB Dark is pretty self explanatory.

rgbdark

Moss Terminal - Various organic/digital green vibes.

moss-terminal