Skip to content

tsax/stellarized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stellarized
a Vim theme made with Colortemplate

paint vim with the stars

palette

screenshot of the stellarized vim theme, light version

sunny day
screenshot of the stellarized vim theme, dark version

starry night
The solarized theme, inspired by reading a book under
a shady tree on a sunny day, features a base palette
of dark green-blue and bright orange-yellow.
The stellarized theme takes this basic idea and shifts
the base hues to reflect the colours of the stars.
Specifically, dark base colors are shifted bluewise (to
the approximate "hot star hue"), while light base colors
are shifted orangewise (to the "cold star hue").
stellarized is a special adaptation of snow.

installation

If you don’t have a preferred plugin helper, consider trying vim-plug, which can be installed with:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

With vim-plug, stellarized can be installed by adding the following to the top of your vimrc...

call plug#begin('~/.vim/plugged')
Plug 'nightsense/stellarized'
call plug#end()

...then reloading vimrc (by running :so % at the vim command line, or by restarting vim), followed by :PlugUpdate.

activation

For a sunny day, add the following to vimrc:

colorscheme stellarized
set background=light

For a starry night:

colorscheme stellarized
set background=dark

If you'd like the background to switch automatically at sunrise/set (or any other time), consider trying night-and-day.

terminal vim

colors

stellarized should work in 256-color and true-color terminals. You may need the following in vimrc:

set termguicolors

cursor shape

To set mode-specific cursor shapes in terminal vim, see the Vim Tips Wiki.

For instance, to set cursor shapes in vte-compatible terminals (like urxvt), you could add to vimrc:

let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"

...which sets the cursor to a vertical line for insert mode, underline for replace mode, and block for normal mode.

status line themes

stellarized comes with themes for airline and lightline. A separate theme is provided for each variant+background.

For instance, to activate the dark airline theme:

let g:airline_theme='stellarized_dark'

For lightline:

let g:lightline = { 'colorscheme': 'stellarized_dark' }

dark can be replaced with light.


repo license: MIT
header image credit: ESO/S. Brunier (CC BY 4.0)

About

paint vim with the stars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published