Skip to content

A 24bit dark Vim colorscheme based on sdras/night-owl-vscode-theme

Notifications You must be signed in to change notification settings

haishanh/night-owl.vim

Repository files navigation

Night Owl syntax

Font in the above screenshot is Iosevka

Night Owl Vim colorscheme screenshot

Font in the above screenshot is Fantasque Sans Mono

A true color Vim colorscheme based on sdras/night-owl-vscode-theme

Usage

""""" install

" install with vim-plug
Plug 'haishanh/night-owl.vim'
" or with NeoBundle
" NeoBundle 'haishanh/night-owl.vim'
" or with Vundle
" Plugin 'haishanh/night-owl.vim'

""""" enable 24bit true color

" If you have vim >=8.0 or Neovim >= 0.1.5
if (has("termguicolors"))
 set termguicolors
endif

" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1

""""" enable the theme

syntax enable
colorscheme night-owl

" To enable the lightline theme
let g:lightline = { 'colorscheme': 'nightowl' }

This theme is build with jacoborus/estilo. If you want to customize this theme, you will need Node.js.

# clone the repo and cd to the dir
# install deps
# you can use npm too
yarn

# checkout file estilo/palettes/night-owl.vim.yml and estilo/syntax/base.yml
# read https://github.com/jacoborus/estilo/blob/master/docs/color-palettes.md
# and https://github.com/jacoborus/estilo/blob/master/docs/colorschemes.md
# to understand how to use them

# make changes and run
yarn render

Links