Giter Club home page Giter Club logo

shades-of-purple.vim's Introduction

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

vim

Example using tmux with matching terminal theme

tmux

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
" If you have vim >=8.0 or Neovim >= 0.1.5
if (has("termguicolors"))
 set termguicolors
endif

"""" 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

Troubleshooting

True color

Make sure you are using a terminal emulator that supports truecolor. Read more about this here.

Colours don't look right

If you are running vim within tmux, you may run into some truecolor issues.

To fix, add this to you tmux.conf

set -g terminal-overrides ',xterm-256color:Tc'
set -g default-terminal "tmux-256color"
set -as terminal-overrides ',xterm*:sitm=\E[3m'

And in your .bash_profile || .zshrc

export TERM="xterm-256color"

Ensure you tmux kill-server, quit your emulator of choice and startup it all back up again. It should then look ๐Ÿ‘Œ.

shades-of-purple.vim's People

Contributors

rigellute avatar joefiorini 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.