A Monokai color scheme for Neovim. I took the original colors from sickill/vim-monokai which I used for a decade and loved. But after switching from Vim to Neovim with Treesitter, the color scheme no longer looked the same and needed some adjustments. So I took the color palette from sickill/vim-monokai and started over with a new Lua-based configuration that now supports Treesitter, WhichKey and Telescope.
Download with your favorite package manager.
use 'kstevens715/monoky.nvim' -- Packer
Plug 'kstevens715/monoky.nvim' " Vim-Plug
vim.cmd("colorscheme monoky")
colorscheme monoky
Lualine checks the value of vim.g.colors_name
(set when using :colorscheme
command) to determine the theme to load.
Set your colorscheme before calling setup.
vim.cmd("colorscheme monoky")
require('lualine').setup({ ... })
After installing this plugin, edit your alacritty.yml
to import monoky_alacritty.yml
. The path you install from will depend on your system
and plugin manager. You could also just copy the contents of monoky_alacritty.yml
directly into your alacritty.yml
.
Example if using Neovim and Packer on a Mac:
import:
- ~/.local/share/nvim/site/pack/packer/start/monoky.nvim/extra/monoky_alacritty.yml
My goal is to remain true to the original sickill/vim-monokai color palette. This version, however, will only support Neovim since it's now written in Lua. I'd like to add support for more plugins, terminals, status lines and continue to improve Treesitter support. It's not currently configurable, but if more people start using it I would be open to making it configurable. If you have any ideas or feature requests, please feel free to open an issue or a pull request.