Giter Site home page Giter Site logo

palenight.vim's Introduction

palenight.vim

A dark color scheme for Vim/Neovim based off the Material Pale Night color scheme. Much of the work is based on the lovely onedark.vim color scheme.

Installation

Using vim-plug (modify this to work with your Vim package manager of choice):

Plug 'drewtempelmeyer/palenight.vim'

Usage

In your wonderfully organized Vim (~/.vimrc) or Neovim (.config/nvim/init.vim) configuration, place the following two lines:

set background=dark
colorscheme palenight

To configure lightline, add the following line:

let g:lightline = { 'colorscheme': 'palenight' }

To configure airline, add the following line:

let g:airline_theme = "palenight"

True Colors

To provide the best user experience possible, I recommend enabling true colors. To experience the blissfulness of your editor's true colors, place this in your .vimrc or ~/.config/nvim/init.vim file:

if (has("nvim"))
  "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
  let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif

"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
  set termguicolors
endif

Italics

Italics are a fantastic way to improve the appearance of your code. Italics will do what they can, but, as they say, "you can't polish a ๐Ÿ’ฉ." (Although MythBusters busted this). Digressing here, so place this into your config:

" Italics for my favorite color scheme
let g:palenight_terminal_italics=1

Overriding Colors

Overriding palenight's colors are supported through setting the g:palenight_color_overrides variable. See palenight.vim for a list of colors that may be overriden. You must provide gui, cterm, and cterm16 values for each.

Example: Overriding the background color to pure black

let g:palenight_color_overrides = {
\    'black': { 'gui': '#000000', "cterm": "0", "cterm16": "0" },
\}

Contributors

The lovely people that have contributed to palenight.vim

palenight.vim's People

Contributors

alxhnr avatar drewtempelmeyer avatar ishchow avatar ma27 avatar mreishus avatar quangkr avatar qxxxb avatar rodrigore avatar skydevht avatar tamago324 avatar

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.