All Projects → tanvirtin → monokai.nvim

tanvirtin / monokai.nvim

Licence: MIT license
Monokai theme for Neovim written in Lua.

Programming Languages

lua
6591 projects
Vim Script
2826 projects

Projects that are alternatives of or similar to monokai.nvim

nvim-bufdel
A Neovim plugin to improve buffer deletion
Stars: ✭ 89 (-42.21%)
Mutual labels:  nvim-plugin, nvim-lua
better-escape.nvim
Escape from insert mode without delay when typing
Stars: ✭ 166 (+7.79%)
Mutual labels:  nvim-plugin, nvim-lua
code runner.nvim
Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
Stars: ✭ 234 (+51.95%)
Mutual labels:  nvim-plugin, nvim-lua
jumpwire.nvim
Jump easily between related files.
Stars: ✭ 16 (-89.61%)
Mutual labels:  nvim-plugin, nvim-lua
nvim-highlite
A colorscheme template that is "lite" on logic for the developer.
Stars: ✭ 163 (+5.84%)
Mutual labels:  colorscheme, nvim-plugin
parsec
A color scheme for people tired of solarized
Stars: ✭ 30 (-80.52%)
Mutual labels:  colorscheme
cutlass.nvim
Plugin that adds a 'cut' operation separate from 'delete'
Stars: ✭ 78 (-49.35%)
Mutual labels:  nvim-plugin
Turtles
🐢 A vim colorscheme based off the legendary teenage warriors
Stars: ✭ 43 (-72.08%)
Mutual labels:  colorscheme
navigator.lua
Source code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐. Exploring LSP and 🌲Treesitter symbols a piece of 🍰. Take control like a boss 🦍.
Stars: ✭ 781 (+407.14%)
Mutual labels:  nvim-plugin
flex color scheme
A Flutter package to make and use beautiful color scheme based themes.
Stars: ✭ 370 (+140.26%)
Mutual labels:  colorscheme
aerial.nvim
Neovim plugin for a code outline window
Stars: ✭ 485 (+214.94%)
Mutual labels:  nvim-plugin
neotrix.vim
💚A nice dark colorscheme for Vim and Neovim.😃
Stars: ✭ 43 (-72.08%)
Mutual labels:  colorscheme
blossom.vim
a simple pinkish vim colorscheme designed for cursive italics
Stars: ✭ 18 (-88.31%)
Mutual labels:  colorscheme
monokai-vs-2015
Monokai theme for Visual Studio 2015/2017
Stars: ✭ 109 (-29.22%)
Mutual labels:  monokai
Theme-Engine
Theme-Engine is usually made for modification & customization, so you can make trunks even more Colourful and better your Termux.
Stars: ✭ 31 (-79.87%)
Mutual labels:  colorscheme
vim-colors-violet
Violet Colorscheme for the Vim Editor
Stars: ✭ 31 (-79.87%)
Mutual labels:  colorscheme
vim-transparent
Remove all background color on Vim
Stars: ✭ 65 (-57.79%)
Mutual labels:  colorscheme
vim-lamp
💡Language Server Protocol client for Vim.
Stars: ✭ 34 (-77.92%)
Mutual labels:  nvim-plugin
nord-slack
An arctic, north-bluish clean and elegant Slack theme.
Stars: ✭ 129 (-16.23%)
Mutual labels:  colorscheme
one.kak
Atom "One" color schemes for Kakoune.
Stars: ✭ 19 (-87.66%)
Mutual labels:  colorscheme

Neovim Monokai

Monokai Theme for Neovim with tree-sitter support

monokai nvim

Supported Monokai Flavours

  • Monokai (monokai)
  • Monokai Pro (monokai_pro)
  • Monokai Soda (monokai_soda)
  • Monokai Ristretto (monokai_ristretto)

Prerequisites

Neovim >= 0.5.

Installation

Plugin Manager Command
Packer use 'tanvirtin/monokai.nvim'
Vim-plug Plug 'tanvirtin/monokai.nvim'
NeoBundle NeoBundle 'tanvirtin/monokai.nvim'
Vundle Bundle 'tanvirtin/monokai.nvim'
Pathogen git clone https://github.com/tanvirtin/monokai.nvim.git ~/.vim/bundle/monokai.nvim
Dein call dein#add('tanvirtin/monokai.nvim')

Usage

In VimL:

syntax on
colorscheme monokai
colorscheme monokai_pro
colorscheme monokai_soda
colorscheme monokai_ristretto

In Lua:

require('monokai').setup {}
require('monokai').setup { palette = require('monokai').pro }
require('monokai').setup { palette = require('monokai').soda }
require('monokai').setup { palette = require('monokai').ristretto }

Customization

It is possible to customize Monokai theme with setup function (only in Lua). Passed argument will override default configuration values witch are:

{
    palette = {
        name = 'monokai',
        base1 = '#272a30',
        base2 = '#26292C',
        base3 = '#2E323C',
        base4 = '#333842',
        base5 = '#4d5154',
        base6 = '#9ca0a4',
        base7 = '#b1b1b1',
        border = '#a1b5b1',
        brown = '#504945',
        white = '#f8f8f0',
        grey = '#8F908A',
        black = '#000000',
        pink = '#f92672',
        green = '#a6e22e',
        aqua = '#66d9ef',
        yellow = '#e6db74',
        orange = '#fd971f',
        purple = '#ae81ff',
        red = '#e95678',
        diff_add = '#3d5213',
        diff_remove = '#4a0f23',
        diff_change = '#27406b',
        diff_text = '#23324d',
    },
    custom_hlgroups = {},
}

An example of this would be as follows:

local monokai = require('monokai')
local palette = monokai.classic
monokai.setup {
    palette = {
        diff_text = '#133337',
    },
    custom_hlgroups = {
        TSInclude = {
            fg = palette.aqua,
        },
        GitSignsAdd = {
            fg = palette.green,
            bg = palette.base2
        },
        GitSignsDelete = {
            fg = palette.pink,
            bg = palette.base2
        },
        GitSignsChange = {
            fg = palette.orange,
            bg = palette.base2
        },
    }
}

With italics option (true by default), you can disable italic used by default in style for some groups (Function, Keyword, Comment...).

require('monokai').setup { italics = false }

Extras

Extra color configs for Kitty, Alacritty, Windows Terminal, can be found in extras. To use them, refer to their respective documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].