Giter Club home page Giter Club logo

tokyonight-vim's Introduction

for more screenshot, check here

About

Originally by enkia

A clean, dark vim theme that celebrates the lights of downtown Tokyo at night based on a VS Code theme with the same name

now come with two variants, night and storm. The only difference is the background color, where the storm variant gets a lighter color

this colorscheme works best with vim-polyglot. Please install it first

this colorscheme only support true colors!

Features

  • Support for numerous file types and plugin
  • Customizable
  • Italic support

If you are on Neovim 0.5.x and need support for plugins like Treesitter, native LSP, and other awesome plugins for Neovim, I recommend you to go for folke/tokyonight.nvim

Installation

Using vim-plug

Plug 'ghifarit53/tokyonight-vim'

add this to your .vimrc

set termguicolors

let g:tokyonight_style = 'night' " available: night, storm
let g:tokyonight_enable_italic = 1

colorscheme tokyonight

if g:tokyonight_style isn't specified, the default night variant will be used

Available configuration

Note: The configuration options should be placed before colorscheme tokyonight .

  • g:tokyonight_style: Customize the style of this color scheme.
    • Available values: 'night', 'storm'
    • Default value: 'night'
  • g:tokyonight_transparent_background: Set to 1 to enable transparent background.
    • Available values: 0, 1
    • Default value: 0
  • g:tokyonight_menu_selection_background: Control the background color of PmenuSel and WildMenu .
    • Available values: 'green', 'red', 'blue'
    • Default value: 'green'
  • g:tokyonight_disable_italic_comment: Set to 1 to disable italic in Comment .
    • Available values: 0, 1
    • Default value: 0
  • g:tokyonight_enable_italic: Set to 1 to italicize keywords. This option is designed to use with fonts that support cursive italic styles, for example Fira Code iCursive Op.
    • Available values: 0, 1
    • Default value: 0
  • g:tokyonight_cursor: Customize the cursor color, only works in GUI clients.
    • Available values: 'auto', 'red', 'green', 'blue'
    • Default value: 'auto'
  • g:tokyonight_current_word: Some plugins can highlight the word under current cursor(for example neoclide/coc-highlight), you can use this option to control their behavior.
    • Available values: 'bold', 'underline', 'italic', 'grey background'
    • Default value: 'grey background' when not in transparent mode, 'bold' when in transparent mode.

Lightline & Airline

This theme also has support for lightline as well as airline.

To enable lightline support:

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

To enable airline support:

let g:airline_theme = "tokyonight"

The lightline and airline styles will both follow the chosen colorscheme style.

Port

.Xresources file available here if you want to port it
Tell me if you made a port and i'll list them here

Credits

  • Sainnhe for the color template file
  • Enkia for the color palettes

License

MIT

tokyonight-vim's People

Contributors

ghifarit53 avatar tessarin avatar aerosol avatar get-me-power 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.