Skip to content

A fork of onedark.nvim, converted to be simular to One Monokai

License

Notifications You must be signed in to change notification settings

AxelGard/oneokai.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oneokai.nvim

A fork of onedark.nvim, converted to be similar to One Monokai not an exact copy.

Since this is a fork, it should still have all the support for tree sitter and highlighting.

For latest TreeSitter syntax highlight, upgraded to Neovim 0.8.0 or later built with tree-sitter 0.20.3+

When I first started using NeoVim I wanted to use one of my favorite color themes, One Monokai. So I googled around and found cpea2506/one_monokai.nvim. It looked like the thing a wanted, but I noticed that in some cases that the colors felt of and some things where had the wrong color. So I switched to using onedark.nvim. But I was missing one monokai. So I decided to fork onedrak.nvim and remap the colors to be more like one monokai. Meaning that I have done a direct color re-mapping from onedark.nvim to One Monokai. but the main colors are still from one dark, just a re mapping of colors.

install

Install via package manager

" Using Vim-Plug
Plug 'AxelGard/oneokai.nvim'

or

-- Using Packer
use 'AxelGard/oneokai.nvim'

themes

Since oneokai is a fork the same themes as onedark has. there are some example screen shoot.

The default is dark theme.

Oneokai - dark

But I would recommend you use darker, darkplus.

dark, darker

Onedark - dark Onedark - darker

cool, deep

Onedark - cool Onedark - deep

warm, warmer

Onedark - cool Onedark - deep

darkplus, black

Onedark - cool Onedark - deep

notdark, paper

Onedark - cool Onedark - deep

setup and config

enable the theme

" Vim
colorscheme oneokai
-- Lua
require('oneokai').load()

styles

There are some pre defined styles of the oneokai theme dark, darker, cool, deep, warm, warmer, darkplus, black, notdark, paper, this are based on the onedark.nvim#themes.

You can change it by

-- Lua
require('oneokai').setup {
    style = 'deep'
}
require('oneokai').load()
" Vim
let g:oneokai_config = {
    \ 'style': 'deep',
\}
colorscheme oneokai

lualine

Oneokai has lualine support

require('lualine').setup {
  options = {
    theme = 'oneokai',
    -- ... your lualine config
  }
}