Home

Awesome

southernlights

Vim color scheme

Features

Usage

This color scheme should not be enabled if the terminal emulator does not support 256 colors, such as the Linux console. Hence, if you only use graphical terminal emulators with support for 256 colors, you may put in your vimrc:

colorscheme southernlights

or in your init.lua:

vim.cmd.colorscheme('southernlights')

But if sometimes you use a less colorful terminal, you should run southernlights conditionally. Example for vimrc:

if $TERM != 'linux'
    colorscheme southernlights
endif

and a different and more complete example for init.lua:

if os.getenv('COLORTERM') == "truecolor" then
    vim.o.mouse = 'a'
    vim.cmd('colorscheme southernlights')
else
    -- Avoid the letter q being printed in the Linux Console
    vim.o.guicursor = ''
end

Screenshot

Screenshot

Tests