Skip to content

A true-color vim color scheme to match the Sweet KDE theme

License

Notifications You must be signed in to change notification settings

rachaeldawn/sweet-dark.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

sweet-dark.vim

A theme inspired from the KDE Sweet Theme, forked from dark-purple.vim.

Credit

Most of this readme and the whole color scheme are the work of shapeoflambda. I only changed the background to match the theme. This readme is also mostly written by him, where inapplicable pieces are removed

Installation

Pre-requisites

This is a true color color scheme and a terminal that supports true colors is required. Set termguicolors by adding set termguicolors in the .vimrc file.

Using Plugin Managers

Vim Plug

Plug 'jschmold/sweet-dark.vim'

NeoBundle

NeoBundle 'jschmold/sweet-dark.vim'

Using the Colorscheme

Add the following lines to the ~/.vimrc

syntax enable
colorscheme sweet_dark

Lightline theme

There's also a lightline theme that goes well with this theme. To use it, add the following to your .vimrc

call plug#begin('~/.vim/plugged')

Plug 'jschmold/sweet-dark.vim'
Plug 'itchyny/lightline.vim'

call plug#end()

syntax enable
set termguicolors

" Always show lightline
set laststatus=2
let g:lightline = {
      \ 'colorscheme': 'sweet_dark',
      \ 'active': {
      \   'left': [ [ 'mode', 'paste' ],
      \             ['readonly', 'filename', 'modified' ] ],
      \   'right': [ [ 'lineinfo' ],
      \              [ 'filetype' ],
      \              [ 'gitbranch'] ]
      \ },
      \ 'component_function': {
      \   'gitbranch': 'fugitive#head'
      \ },
      \ }
colorscheme sweet_dark

Make sure lightline is loaded after the theme is loaded.

Screenshot

screenshot

Terminal Terminator
Font-Regular Fira code
File/Syntax Angular Typescript

About

A true-color vim color scheme to match the Sweet KDE theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages