vim-deus

March 20, 2021 ยท View on GitHub

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

ColorHexUse
#242a32black
#d54e53red
#98c379green
#e5c07byellow
#83a598blue
#c678ddpurple
#70c0bateal
#eaeaeawhite
#666666bright black
#ec3e45bright red
#90c966bright green
#edbf69bright yellow
#73ba9fbright blue
#c858e9bright purple
#2bcec2bright teal
#ffffffbright white
#2c323bbackground
#eaeaeaforeground

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 EmulatorConfiguration
Alacrittyalacritty.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!