Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/connorholyday/vim-snazzy
Elegant vim theme with bright colors.
https://github.com/connorholyday/vim-snazzy
colorscheme snazzy theme vim vim-colorscheme vim-theme
Last synced: 4 days ago
JSON representation
Elegant vim theme with bright colors.
- Host: GitHub
- URL: https://github.com/connorholyday/vim-snazzy
- Owner: connorholyday
- License: mit
- Created: 2018-04-16T22:07:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-30T06:24:09.000Z (over 2 years ago)
- Last Synced: 2024-12-08T10:22:22.877Z (13 days ago)
- Topics: colorscheme, snazzy, theme, vim, vim-colorscheme, vim-theme
- Language: Vim script
- Homepage:
- Size: 6.92 MB
- Stars: 341
- Watchers: 8
- Forks: 34
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
- awesome-starred-test - connorholyday/vim-snazzy - Elegant vim theme with bright colors. (Vim Script)
README
# vim-snazzy
> Elegant vim theme with bright colors. Based on [hyper-snazzy](https://github.com/sindresorhus/hyper-snazzy/) by [Sindre Sorhus](https://sindresorhus.com).
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
![](images/snazzy-php.jpg)### CSS
![](images/snazzy-css.jpg)### JS
![](images/snazzy-js.jpg)### JSX
![](images/snazzy-jsx.jpg)## Installation
### Vundle or vim-plug
To install using [Vundle](https://github.com/VundleVim/Vundle.vim) or [vim-plug](https://github.com/junegunn/vim-plug)
add one of the following line to your .vimrc```vim
" vundle
Plugin 'connorholyday/vim-snazzy'" vim-plug
Plug 'connorholyday/vim-snazzy'
```### Pathogen
To install using [Pathogen](https://github.com/tpope/vim-pathogen) run the following command
```
cd ~/.vim/bundle && git clone [email protected]:connorholyday/vim-snazzy.git
```### Manually
To install manually download https://raw.githubusercontent.com/connorholyday/vim-snazzy/master/colors/snazzy.vimPlace the file in `~/.vim/colors/` or `\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](https://github.com/itchyny/lightline.vim) 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 commentThere 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](https://github.com/chrisbra/Colorizer) – Shows you the visual representation of colours
- [HiLinkTrace](http://vim.wikia.com/wiki/Identify_the_syntax_highlighting_group_used_at_the_cursor) - Used to tell you the syntax group for your highlight rule
- [hexHighlight](https://www.vim.org/scripts/script.php?script_id=2937) - (gVim) Shows you the colours that the hex-values represent
- [Vimcasts: Creating colorschemes for vim](http://vimcasts.org/episodes/creating-colorschemes-for-vim/)
- [Working with vim colorschemes](https://jordanelver.co.uk/blog/2015/05/27/working-with-vim-colorschemes/)## Related
- [iterm2-snazzy](https://github.com/sindresorhus/iterm2-snazzy) - iTerm2 version
- [terminal-snazzy](https://github.com/sindresorhus/terminal-snazzy) - Terminal version
- [konsole-snazzy](https://github.com/miedzinski/konsole-snazzy) - Konsole version
- [vscode-snazzy](https://github.com/Tyriar/vscode-snazzy) - VS Code version
- [emacs-snazzy](https://github.com/weijiangan/emacs-snazzy) - Emacs version
- [termite-snazzy](https://github.com/kbobrowski/termite-snazzy) - Termite version
- [deepin-snazzy](https://github.com/xxczaki/deepin-snazzy) - Linux Deepin terminal version
- [kitty-snazzy](https://github.com/connorholyday/kitty-snazzy) - Kitty version## License
MIT © [Connor Holyday](https://holyday.me)