Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 625 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 625 Bytes

chillthm.nvim

image

Installation

" With Vim-Plug
Plug 'hiszd/chillthm.nvim'

" Enable the color scheme
colorscheme chillthm
-- With packer
use 'hiszd/chillthm.nvim'
--  in your lua config
require('chillthm')

Switching between theme versions

function ThemeToggle()
    if vim.g.background == 'dark' then
        vim.g.background = 'light'
    else
        vim.g.background = 'dark'
    end
    require('chillthm').reload()
end

--- ... map this function to any keybinding