An open API service indexing awesome lists of open source software.

https://github.com/ajmwagar/vim-deus

🌙 A better color scheme for the late night coder
https://github.com/ajmwagar/vim-deus

color-scheme neovim vim vim-airline vim-colors vim-colorscheme vim-dues

Last synced: 4 days ago
JSON representation

🌙 A better color scheme for the late night coder

Awesome Lists containing this project

README

        

# vim-deus

Deus was created out of sheer rage caused by all of the bad Solarized/Gruvbox clones. (No offense)
I was tired of them. I needed something original, something new. So if you are like me, and I believe many of you are...

I present you **Deus**:

## Screenshots

---

## Installation

Manual:
1. download & place `deus.vim` in your `vimfiles/colors` folder (usually `~/.vim/colors/`)
2. add this line to your `.vimrc`

`colors deus`

**OR**

Use a package manager like Pathogen, Vundle, or Vim-plug just to name a few:

### Pathogen:

Run this in your terminal

```bash

cd ~/.vim/

mkdir bundle

cd bundle

git clone https://github.com/ajmwagar/vim-deus.git
```

### Vim-Plug:

Add the following lines to your `~/.vimrc`:

```vim
call plug#begin('~/.vim/bundle/')
Plug 'ajmwagar/vim-deus'
call plug#end()
```

Don't forget to run:

`:PlugInstall`

---

## Language Syntax Support:

- Lua
- Go
- **JavaScript**
- **CSS/HTML**
- PHP
- **C#**
- JSON
- **Markdown**
- Haskell
- Scala
- Elixir
- Java
- MoonScript
- Objective C
- C Languages
- CoffeeScript
- **Ruby**
- **Rust**
- **Python**
- Clojure
- XML
- Any many more... (try [vim-polyglot](https://github.com/sheerun/vim-polyglot) for syntax packs)

**Bold** = really nice looking (They all look good but these are my personal favorites.)

---

## Plugin support

- Airline `:AirlineTheme deus`
- coc.nvim (popup-windows & error colors)
- Ctrlp
- FZF
- NerdTREE
- Syntastic (and most linters)
- Deoplete
- YCM (YouCompleteMe)
- Tabbar
- Vim-easy-motion
- Sneak
- Rainbow-Parentheses

---

## Palette

| Color | Hex | Use |
|------------------------------------------------------------------------|---------|---------------|
|| #242a32 | black |
|| #d54e53 | red |
|| #98c379 | green |
|| #e5c07b | yellow |
|| #83a598 | blue |
|| #c678dd | purple |
|| #70c0ba | teal |
|| #eaeaea | white |
|| #666666 | bright black |
|| #ec3e45 | bright red |
|| #90c966 | bright green |
|| #edbf69 | bright yellow |
|| #73ba9f | bright blue |
|| #c858e9 | bright purple |
|| #2bcec2 | bright teal |
|| #ffffff | bright white |
|| #2c323b | background |
|| #eaeaea | foreground |

## Troubleshooting

When using terminal-vim and vim-deus the colors
can get messed up.

To fix this add the following snippet to your `~/.vimrc`:

```vim
set t_Co=256
set termguicolors

let &t_8f = "\[38;2;%lu;%lu;%lum"
let &t_8b = "\[48;2;%lu;%lu;%lum"

set background=dark " Setting dark mode
colorscheme deus
let g:deus_termcolors=256
```

### Tmux

Instructions on how to enable TrueColor for Tmux can be found [here](https://gist.github.com/parmort/4d95555b3f9435fa953f0b7c67c86e8f).

### Italics

If you use vim in a terminal that supports italics, set the environment variable `TERM_ITALICS` to TRUE (i.e. `export TERM_ITALICS=true`) to enable with vim-deus.

### Terminal Support

Deus has been ported to the following terminal emulators.

| Terminal Emulator | Configuration |
|-----------------------------------------------------|-------------------------------------------------------------|
| [Alacritty](https://github.com/alacritty/alacritty) | [alacritty.yml](./terminal/alacritty.yml) |

---

## Thank You
I took **a lot** of inspiration from two great colorschemes,
[Onedark](https://github.com/joshdick/onedark.vim) and
[Gruvbox](https://github.com/morhetz/gruvbox). I want to thank their creators for making such great
color schemes. So thank you!