98

GitHub - Rigellute/shades-of-purple.vim: Dark theme for vim

 4 years ago
source link: https://github.com/Rigellute/shades-of-purple.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

vim

A 24bit dark Vim colorscheme based on ahmadawais/shades-of-purple-vscode

Install

"""" install
" install with vim-plug
Plug 'Rigellute/shades-of-purple.vim'

" or with NeoBundle
" NeoBundle 'Rigellute/shades-of-purple.vim'
" or with Vundle
" Plugin 'Rigellute/shades-of-purple.vim'

"""" enable 24bit true color
set termguicolors

"""" enable the theme
syntax enable
colorscheme shades_of_purple

Airline

airline-vim

If you would like to use the accompanying airline colorscheme

let g:shades_of_purple_airline = 1
let g:airline_theme='shades_of_purple'

Lightline

lightline

If you would like to use the accompanying lightline colorscheme

let g:shades_of_purple_lightline = 1
let g:lightline = { 'colorscheme': 'shades_of_purple' }

Terminal

alacritty

For a complete experience, make your terminal use the same colorscheme as vim.

I use alacritty

Add this to ~/.config/alacritty/alacritty.yml

# Colors
colors:
  # Default colors
  primary:
    background: "0x1E1E3F"
    foreground: "0xE1EFFF"

  # Colors the cursor will use if `custom_cursor_colors` is true
  cursor:
    text: "0x1E1E3F"
    cursor: "0xFAD000"

  # Normal colors
  normal:
    black: "0x000000"
    red: "0xEC3A37"
    green: "0x75e44c"
    yellow: "0xFAD000"
    blue: "0x6943FF"
    magenta: "0xFF2C70"
    cyan: "0x80FCFF"
    white: "0xFFFFFF"

  # Bright colors
  bright:
    black: "0x5C5C61"
    red: "0xEC3A37F5"
    green: "0x3AD900"
    yellow: "0xFAD000"
    blue: "0x6943FF"
    magenta: "0xFB94FF"
    cyan: "0x80FCFF"
    white: "0x2D2B55"

For other terminal emulators check here

TODO

Syntax support

  • javascript
  • jsx
  • flow types
  • css
  • json
  • yml
  • markdown
  • typescript

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK