- The colors are from azemoth/vscode-one-monokai.
- The original vim colorscheme is from crusoexia/vim-monokai
Plug 'fratajczak/one-monokai-vim'
mkdir -p ~/.vim/colors
Download the colors/one-monokai.vim
file from the repo to ~/.vim/colors
Add the command below to your ~/.vimrc
:
syntax on
colorscheme one-monokai
If you are using a terminal which supports truecolor like iterm2, enable the gui color by adding the setting below in ~/.vimrc
or ~/.vim/init.vim
set termguicolors
Otherwise, use below setting to activate the 256 colors in your terminal
set t_Co=256
By default the gui enables italic but not the terminal. They both can be configured.
If you are using a font that supports italic, paste the command below in your .vimrc
to turn on terminal italic:
let g:monokai_term_italic = 1
let g:monokai_gui_italic = 1