All Projects β†’ tomasiser β†’ Vim Code Dark

tomasiser / Vim Code Dark

Licence: mit
Dark color scheme for Vim and vim-airline, inspired by Dark+ in Visual Studio Code

Projects that are alternatives of or similar to Vim Code Dark

Gruvbox
🎨 Sublime Text themes & color schemes with pastel 'retro groove' colors
Stars: ✭ 191 (-63.89%)
Mutual labels:  dark-theme, color-scheme
Color Mode Module
Dark and Light mode with auto detection made easy with NuxtJS
Stars: ✭ 497 (-6.05%)
Mutual labels:  dark-theme, color-scheme
npp-darcula
Dark theme for Notepad++ based on Darcula theme from JetBrains products
Stars: ✭ 114 (-78.45%)
Mutual labels:  dark-theme, color-scheme
Hydrangea Vim
Hydrangea theme for Vim.
Stars: ✭ 121 (-77.13%)
Mutual labels:  dark-theme, color-scheme
Nova-Dark-Theme
A dark theme for Laravel Nova
Stars: ✭ 72 (-86.39%)
Mutual labels:  dark-theme, color-scheme
Darcula
A Vim color scheme reproduction of the official JetBrains IDE Darcula theme
Stars: ✭ 158 (-70.13%)
Mutual labels:  dark-theme, color-scheme
catppuccin
😸 Soothing pastel theme for the high-spirited!
Stars: ✭ 2,046 (+286.77%)
Mutual labels:  dark-theme, color-scheme
intellij-visual-studio-code-dark-plus
Visual Studio Code Dark Plus theme for JetBrains IDEs
Stars: ✭ 108 (-79.58%)
Mutual labels:  dark-theme, color-scheme
emacs-humanoid-themes
Light and dark theme with bright colors for Emacs that supports GUI and terminal
Stars: ✭ 53 (-89.98%)
Mutual labels:  dark-theme, color-scheme
openbox
A theme for Openbox WM based in Dracula's color scheme.
Stars: ✭ 17 (-96.79%)
Mutual labels:  dark-theme, color-scheme
St Theme Freesia
Freesia theme for Sublime Text 3. (Unmaintained.)
Stars: ✭ 108 (-79.58%)
Mutual labels:  dark-theme, color-scheme
Vim No Color Collections
Collection of Vim themes with barely any colors
Stars: ✭ 270 (-48.96%)
Mutual labels:  dark-theme, color-scheme
Adonis Ui
Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals
Stars: ✭ 878 (+65.97%)
Mutual labels:  dark-theme, color-scheme
Qt Creator Darcula
Darcula color scheme for Qt Creator GUI and syntax highlighting theme
Stars: ✭ 163 (-69.19%)
Mutual labels:  dark-theme, color-scheme
gtk
πŸͺŸ Soothing pastel theme for GTK3
Stars: ✭ 150 (-71.64%)
Mutual labels:  dark-theme, color-scheme
Xcode One Dark
Atom One Dark theme for Xcode
Stars: ✭ 273 (-48.39%)
Mutual labels:  dark-theme, color-scheme
Midnight Lizard
Π‘ustom color schemes for all websites
Stars: ✭ 406 (-23.25%)
Mutual labels:  dark-theme, color-scheme
Open Color
Color scheme for UI design.
Stars: ✭ 4,512 (+752.93%)
Mutual labels:  color-scheme
Emacs Color Themes
A collection of custom themes for Emacs. All the themes are named after famous programmers.
Stars: ✭ 469 (-11.34%)
Mutual labels:  dark-theme
Ant Design Dark Theme
🌚 Dark theme variables of Ant Design
Stars: ✭ 431 (-18.53%)
Mutual labels:  dark-theme

vim-code-dark

vim-code-dark is a dark color scheme for Vim heavily inspired by the look of the Dark+ scheme of Visual Studio Code. While many of the colors are same, there are additional colors for specific usage or reserved for future use. The scheme also defines specific GUI colors (e.g. popup menu) and fully supports vim-airline.

❗️ To install and enable this colorscheme, read installation instructions.

This colorscheme does also support 256 and 8/16 color terminals. See installation instructions step 3.

Screenshots

gVim / modern terminals

Ruby and NERDTree Editing HTML and CSS

Code samples 1, 2, nerdtree

Terminals with limited color support

Fixed 256 colors

Terminal on Debian with 256 colors

Fixed 8/16 colors

Terminal on Debian with 16 colors

Color Palette

Color Palette

Installation

1) Download

Simply as any other Vim plugins: download manually or follow the standard procedure of your plugin manager:

Plugin 'tomasiser/vim-code-dark'
Plug 'tomasiser/vim-code-dark'
  • manual

    copy all of the files to ~/.vim (or $HOME\vimfiles on Windows) directory

2) Enable in .vimrc

Add the following line to your .vimrc:

colorscheme codedark

If you have vim-airline, you can also enable the provided theme:

let g:airline_theme = 'codedark'

3) Terminal support

3.1) If you use gVim / a modern terminal

πŸ‘ The colorscheme will work out of the box. No need to setup anything else!

3.2) If the colors seem to be wrong

If your terminal supports 256 colors (see this script if you want to test your terminal), you may need to set t_Co to 256 and possibly also reset the t_ut value in your .vimrc before setting the colorscheme:

set t_Co=256
set t_ut=
colorscheme codedark

(Additionally, if you don't want to or cannot use t_Co, you can let g:codedark_term256=1.)

3.3) If your terminal only supports 8/16 colors

❗️ Before following those steps, first try step 3.2) - maybe your terminal does support 256 colors!

If your terminal does not support 256 colors, you may want to change your terminal colors:

3.3.1) Some Unix terminals

Clone base16-shell into ~/.config/base16-shell:

git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell

Then copy a script from this (vim-code-dark) repository (base16/templates/shell/scripts/base16-codedark.sh) into ~/.config/base16-shell/scripts.

Following the instructions from base16-shell, you should now modify your ~/.bashrc or ~/.zshrc (depending on your shell) and insert the following lines:

BASE16_SHELL=$HOME/.config/base16-shell/
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"

Now start a new shell and type the following command: base16_codedark.

You should now be able to use Vim with your new colorscheme.

3.3.2) iTerm2

iTerm2 should actually support 256 colors, try setting Report Terminal Type to xterm-256color and follow step 3.2). If it does not work, you can manually modify your terminal colors in settings (CMD+i, Colors tab) following the color palette picture. You will have to choose which color to use as red, blue etc. according to your personal preferences.

3.3.3) PuTTY

PuTTY should actually support 256 colors, try following steps on StackOverflow. If it does not work, run base16/templates/putty/putty/base16-codedark.reg to modify your registry, then run PuTTY and load codedark in the session list. This will modify your PuTTY terminal colors.

FAQ

The background color in my terminal is wrong when there is no text!

Try resetting the t_ut value in your .vimrc as described here:

set t_Co=256
set t_ut=
colorscheme codedark

What is and how to enable the conservative mode?

If you don't like many colors and prefer the conservative style of the standard Visual Studio, you can try the conservative mode with reduced number of colors. To enable it, put the following line to your .vimrc before setting the scheme, like so:

let g:codedark_conservative = 1
colorscheme codedark

Something is broken but I know how to fix it!

Pull requests are welcome! Feel free to send one with an explanation!

Why does file syntax not look exactly like in Visual Studio Code?

Because Vim uses different syntax rules. This is just a colorscheme for vim, not a syntax definition.

My favourite language has wrong / bad / awful colors!

There are a lot of syntax definitions with different highlight groups. Feel free to send a pull request with additional highlight groups!

What setup can I see on the first screenshots?

Screenshots come from gVim on Windows with the following font options and vim-airline enabled.

set enc=utf-8
set guifont=Powerline_Consolas:h11
set renderoptions=type:directx,gamma:1.5,contrast:0.5,geom:1,renmode:5,taamode:1,level:0.5
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].