Skip to content

connorholyday/vim-snazzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-snazzy

Elegant vim theme with bright colors. Based on hyper-snazzy by Sindre Sorhus.

This is still an early build, I'll be implementing better language support as I use this more myself.

All feedback, comments, and PRs welcome.

Screenshots

PHP

CSS

JS

JSX

Installation

Vundle or vim-plug

To install using Vundle or vim-plug add one of the following line to your .vimrc

" vundle
Plugin 'connorholyday/vim-snazzy'

" vim-plug
Plug 'connorholyday/vim-snazzy'

Pathogen

To install using Pathogen run the following command

cd ~/.vim/bundle && git clone git@github.com:connorholyday/vim-snazzy.git

Manually

To install manually download https://raw.githubusercontent.com/connorholyday/vim-snazzy/master/colors/snazzy.vim

Place the file in ~/.vim/colors/ or <your-vim-dir>\vimfiles\colors\ on Windows.

For Neovim place the file in ~/.config/nvim/colors/

Running

To load the color scheme run

:colorscheme snazzy

To always use the snazzy color scheme add the following line to your .vimrc

colorscheme snazzy

Options

Transparent Background

Add this to your vim config let g:SnazzyTransparent = 1

Lightline

Enable the Lightline colorscheme

let g:lightline = {
\ 'colorscheme': 'snazzy',
\ }

Contributing

There are only a couple of things you need to know if you want to help out:

  1. All of the code lives inside colors/snazzy.vim
  2. The variables for the palette are set at the top
  3. :exe is used so we can use the variables via string concatenation
  4. If you're adding a new section, try to keep it to a new block and title it with a comment

There is a test/ directory for language files that you can use to test out the highlighting, feel free to improve them or include your language of choice.

Here's a list of helpful plugins and articles to get you started:

Related

License

MIT © Connor Holyday