Code Monkey home page Code Monkey logo

vim-deus's Introduction

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!

vim-deus's People

Contributors

ajmwagar avatar carloshenriqueribeiro avatar connorlay avatar gomme- avatar mhz-tamb avatar minusfour avatar parmort avatar sorachii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vim-deus's Issues

Several enhancements for color usage

Hi, First of all I love the vim-deus colorscheme it seems like the lovechild of Gruvbox + OneDark ;-)

Whilst using it I noticed some elements of the UI that I thought didn't really match the overall look. so I added some manual hi! to my vimrc so I'd thought I share them in case you're interested in merging these changes upstream.

changed highlighting rules:

    hi! link SignColumn LineNr
    hi! VertSplit guibg=#242a32
    hi! StatusLine guifg=#242a32 guibg=#ebdab2
    hi! StatusLineNC guifg=#242a32 guibg=#ebdab2
    hi! CursorLineNr guibg=#242a32 guifg=#ebdab2

    hi! SignColumn guibg=#242a32
    hi! SignifySignAdd guibg=#242a32 guifg=#99c379
    hi! SignifySignDelete guibg=#242a32 guifg=#fb4733
    hi! SignifySignChange guibg=#242a32 guifg=#8ec07b

    hi! AleWarningSign guibg=#242a32 guifg=#ebdab2

    hi! CursorLine guibg=#292f37
    hi! ColorColumn guibg=#292f37

before (original vim-deus):
screen shot 2017-11-26 at 11 43 59

after ( with my highlight rules):
screen shot 2017-11-26 at 11 38 47

let me know what you think

ListMarker color in Markdown.

Hello,

This is not really an issue. I find the ListMarker color in Markdown (deusGray) not visible enough. I am now using deusPurple which I find quite nice. Of course this is subject to personal taste. but if you ( @ajmwagar ) agree on this, that could be an good change to make I think.

error in win10 with bash on ubuntu on windows

thanks a lot for the amazing color set.
when I use the newest version (which committed on Jun 28, 2017)
it says

line 1210:
E128: Function name must start with a capital or "s:": deusHlsShowCursor()
line 1212:
E193: :endfunction not inside a function
line 1214:
E128: Function name must start with a capital or "s:": deusHlsHideCursor()
line 1216:
E193: :endfunction not inside a function

this is the error line

function! deusHLsShowCursor()

and then i fixed them like this

function! s:deusHLsShowCursor()

I am a new vimer and I don't know if I fixed them correctly.

how could change tab symbol color a little darker, it's so obvous now

I like this colorscheme ,it's amazing, but when i see the kernel code, i found a place of maladjustment, first i set tab symbol as >--- to make a difference this space symbol;
when i see the code, I get the effect as below:
t5MdNF.png
need help , how could i let the >--- symbol darker make the eye more comfortable.

syntax highlight color ?

Hi,
Thank you for vim-deus, it is awesome. I do have one question - not sure where is best to ask so I thought I'd post it here.
Occasionally on a vim vundle PluginUpdate I see some comments from commits that have a black
color, probably either 0 or 16 or 232 on the 256 scale. I have attached a png to illustrate.
My question is - do you have any idea where this color is defined ? so could I change it to be a little more readable.
See the line near the bottom that starts with "Merge pull request #360 ..."

Thank you for your software,
-m

vim-deus-dark-screenshot

Italic keywords

Hi, how can I set the keyword as italic ? Think line 742 at let g:fzf_colors =... but I'm not sure...
Thanks !
Edit: for those who want: line 366 for the deusRed definition change to s:HL('deusRed',s:red,s:none,s:italic)

Mispelled words are not highlighted on Vim 8.2

I enabled :set spell spelllang=en_us on a file with obvious misspelt words. The deus colorscheme didn't show it, however, when I switched to :colorscheme default Vim 8.2 was able to then highlight the misspelt words. Switching back to :colorscheme deus those highlights disappeared.

Is it possible to set the deus colorscheme to highlight, or underline the misspelt words?

unset background ?

Hi,
Thank you for a great colorscheme.
I was wondering if there was a way to not set the background ?
I can set the terminal background to something very close and then use opacity.
But the vim background then overwrites this and I lose the opacity.
I have tried to unset background but I must be doing something wrong.
Anyway perhaps a toggle setting to possibly not set the background but do set everything else ?
thx, take care,
-m

Add base16 support for deus

Hey, I was wondering if this theme is base 16 compatible. If so, could you match the colors to the base16 numbers? I had a go myself but I don't they are declared in order.

Changing a color

First off, thank you for this incredible color scheme. It blows me away, I've been using it for quite some time now and don't think I will ever change.

But onto what I came here for. I assumed I could just change or add a color by editing the deus.vim file in the colors folder. I have never tried editing a plugin before but assumed it was as simple as this so correct me if I'm wrong please. Anyways, the reason for this was that I added a plugin called vim-cpp-enhanced-highlight which adds functionality to highlight certain keywords in c++ that didn't before. It works great, except when it comes to functions. The bold green color used as much as it is just doesn't appeal to me.
functioncolor
So I decided to change it. I found function name set to deusGreenBold under syntax highlighting after I didn't find anything under the C++ specific area. I then went to where deusGreenBold was defined and decided I really liked this dark bluish color here:
bluecolor
Testing the hex values you have set for the colors I assumed it was either Fg0 or Fg2. So I decided to define a bold Fg0 and test it. Under "deus Hi Groups" I added the following:
call s:HL('deusFg0Bold', s:fg0, s:none, s:bold)
I then changed the Function Name color to:
hi! link Function deusFg0Bold
I saved the file and reloaded my cpp files and they stayed the same color. I tried changing it to deusYellowBold and nothing changed. I tried updating plugins through vundle with :PluginUpdate and nothing changed. I've tried resourcing my vimrc, dues.vim, my cpp files. I have no idea what to do :(

I would really appreciate any help you have to offer.

Thanks!

tab colors / highlighting ?

Thank you for vim-deus, it is awesome.
Q: Are there settings or do you have a recommendation for setting the tab colors ?
I would like to highlight the active tab with a different/brighter color than the default background.

Need more nerd tree color scheme

Hi. I felt good and refreshed about deus.
But the more Nerd tree support, the more elegant color scheme it would be.
How about add directories' color for differ from regular files?

nerd

Airline theme missing

I have vim-airline and vim-airline-themes installed with vim-plug; everything uptodate.

When I do ":Airlinetheme dues" I get "The specified theme cannot be found".

Is there something I missed?

Pmenu, PmenuSel color modification ?

Hi,
Thanks for awesome vim-deus.
I use vim-deus:

colorscheme deus

I want to change the PmenuSel highlight group color:

highlight PmenuSel cterm=None ctermfg=10 ctermbg=20

but this doesn't seem to take effect.
Q: 1). does vim-deus set the Pmenu and PmenuSel colors ? If so what are they ?
2). can they be changed like I have above or is there a different way involving vim-deus ?

I'm on Ubuntu (16.04) with vim 8.2.488 in a terminal with 256 color support.

thx,
-m

airline theme

can't set airline theme as like as the screenshot provided.

Add a light mode

Want to add a light mode, still looking for a good light background.

Missing fzf.vim color

I'm using fzf with ripgrep and when using :Rg command from fzf.vim blue is not from palette

Screenshot 2020-03-25 at 09 40 10

Inserts 'ff' everywhere using specific 'guicursor' settings

Using this vimrc in Neovim 0.2.0 and iTerm 3.1 beta 5 causes the characters ff to appear everywhere. Just entering insert mode in an empty buffer makes them appear for example. Removing the guicursor setting fixes the issue. So something with blinking cursors is causing problems.

call plug#begin()
Plug 'ajmwagar/vim-dues'
call plug#end()
set background=dark
set termguicolors
colorscheme dues

set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50
 \,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor
 \,sm:block-blinkwait175-blinkoff150-blinkon175

I'm reporting here since this doesn't happen with other color schemes. The guicursor value is taken straight out of :h guicursor

screen shot 2017-06-21 at 17 39 19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.