代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。