| colors | reorganize repo directories, update readme, and add randomized examples dir | |
| randomer-examples/colors | add one more example i liked | |
| samples | add sample screenshots | |
| README.md | add sample screenshots | |
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
.vimrcfor quick recycling of this colorcheme:nnoremap <leader>r :colorscheme randomer<CR>
Explorative usage
To save a randomized a colorscheme palette that one likes:
- Use the command
:call RandomerColorschemeExportPalette()to echo the color values. - Copy the output lines and paste somewhere temporary.
- Copy the colorscheme's file to a new file (rename).
- 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_namevalue (in theg:RandomerColorschemeMainfunction) 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...
Diamondus night tribute reminded me of a specific planet in my childhood favorite Jazz Jackrabbit 2!
RGB Dark is pretty self explanatory.
Moss Terminal - Various organic/digital green vibes.