33

GitHub - drewtempelmeyer/palenight.vim: Soothing color scheme for your favorite...

 5 years ago
source link: https://github.com/drewtempelmeyer/palenight.vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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'

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

Contributors

Contribute to this color scheme and earn your spot in this section of the README.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK