Awesome
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:
- All of the code lives inside
colors/snazzy.vim
- The variables for the palette are set at the top
:exe
is used so we can use the variables via string concatenation- 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:
- Colorizer – Shows you the visual representation of colours
- HiLinkTrace - Used to tell you the syntax group for your highlight rule
- hexHighlight - (gVim) Shows you the colours that the hex-values represent
- Vimcasts: Creating colorschemes for vim
- Working with vim colorschemes
Related
- iterm2-snazzy - iTerm2 version
- terminal-snazzy - Terminal version
- konsole-snazzy - Konsole version
- vscode-snazzy - VS Code version
- emacs-snazzy - Emacs version
- termite-snazzy - Termite version
- deepin-snazzy - Linux Deepin terminal version
- kitty-snazzy - Kitty version
License
MIT © Connor Holyday