Skip to content

πŸŒ™ A better color scheme for the late night coder

License

Notifications You must be signed in to change notification settings

ajmwagar/vim-deus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

cd ~/.vim/

mkdir bundle

cd bundle

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

Vim-Plug:

Add the following lines to your ~/.vimrc:

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 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:

set t_Co=256
set termguicolors

let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[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.

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 alacritty.yml

Thank You

I took a lot of inspiration from two great colorschemes, Onedark and Gruvbox. I want to thank their creators for making such great color schemes. So thank you!