The Molokai color of VIM is similar to the monokai topic of sublime text.

Source: Internet
Author: User

The color of sublime text is quite colorful. Today, when I browsed the webpage, I found a Vim Molokai color. It is a textmate-based monokai color,

It is similar to the default topic monokai of sublime text. If you prefer sublime text, try it.

 

Effect:

 

 

The Molokai. Vim code is as follows:

"Vim color file" "Author: Tomas Restrepo <[email protected]>" Note: based on the monokai theme for textmate "by Wimer hazenberg and its darker variant" by Hamish Stuart MacPherson "Hi clearset background = darkset t_co = 256" inform Molokai that the terminal supports 256 colors. If version> 580 "no guarantees for version 5.8 and below, but this makes it stop" Complaining Hi clear if exists ("syntax_on") syntax reset endifendiflet G: colors_name = "Molokai" If exists ("G: molokai_original") Let s: molokai_original = G: molokai_originalelse Let s: authorization = 0 signature Boolean guifg = # ae81ffhi character guifg = # signature number guifg = # ae81ffhi string guifg = # condition conditional guifg = # condition GUI = boldhi constant guifg = # ae81ff Gui cursor guifg = #000000 guibg = # f8f8f0hi debug guifg = # export GUI = boldhi define guifg = # export delimiter guifg = # export diffadd guibg = # export diffchange guifg = # 89807d guibg = # 4c4745hi diffdelete guifg = #960050 guibg = # 1e0010hi difftext guibg = #4c4745 GUI = italic, boldhi directory guifg = # export GUI = boldhi error guifg = #960050 guibg = # export errormsg guifg = # f92672 guibg = #232526 GUI = boldhi exception guifg = # export GUI = boldhi float guifg = # export foldcolumn guifg = #465457 guibg = # 000000hi folded guifg = #465457 guibg = # 000000hi function guifg = # define identifier guifg = # define ignore guifg = #808080 guibg = descriincsearch guifg = # c4be89 guibg = # export 00hi keyword guifg = # export GUI = boldhi label guifg = # export GUI = nonehi macro guifg = # c4be89 GUI = italichi export guifg = # 66d9ef Gui export guifg = #000000 guibg = # export GUI = boldhi modemsg guifg = # export moremsg guifg = # export operator guifg = # export "complete menuhi pmenu guifg = # 66d9ef guibg = # export 00hi guibg = # define pmenusbar guibg = # define parameter guifg = # define precondit guifg = # define GUI = boldhi preproc guifg = # define question guifg = # define repeat guifg = # define GUI = boldhi search guifg = # ffffff guibg = #455354 "marks columnhi signcolumn guifg = # symbol guibg = # symbol specialchar guifg = # symbol GUI = boldhi character guifg = #465457 GUI = boldhi special guifg = # 66d9ef guibg = bg gui = italichi specialkey guifg = #888a85 GUI = italicif has ("Spell ") hi spellbad guisp = # ff0000 GUI = undercurl Hi spellcap guisp = #7070f0 GUI = undercurl Hi spelllocal guisp = #70f0f0 GUI = undercurl Hi spellrare guisp = # ffffffff GUI = Export Statement guifg # export GUI = boldhi statusline guifg = #455354 guibg = fghi export guifg = #808080 guibg = # export guifg = # export GUI = italichi structure guifg = # 66d9efhi tag guifg = # f92672 Gui = italichi title guifg = # export todo guifg = # ffffff guibg = bg gui = boldhi typedef guifg = # export type guifg = # 66d9ef GUI = nonehi underlined guifg = #808080 GUI = underlinehi vertsplit guifg = #808080 guibg = #080808 GUI = boldhi visualnos guibg = # export visual guibg = # export warningmsg guifg = # ffffff guibg = #333333 GUI = boldhi export guifg = # 66d9ef guibg = # define 00if s: authorization = 1 Hi normal guifg = # f8f8f2 guibg = #272822 Hi comment guifg = # 75715e Hi cursorline guibg = # Your Hi cursorcolumn guibg = # Your Hi linenr guifg = # bcbcbc guibg = #3b3a32 Hi nontext guifg = # bcbcbc guibg = # Using HI normal guifg = # f8f8f2 guibg = # Using HI comment guifg = #465457 Hi cursorline guibg = #293739 Hi cursorcolumn guibg = #293739 hi linenr guifg = # bcbcbc guibg = #232526 Hi nontext guifg = # bcbcbc guibg = # 232526end "" Support for 256-color terminal "IF & t_co> 255 Hi Boolean ctermfg = 135 hi character ctermfg = 144 Hi number ctermfg = 135 Hi string ctermfg = 144 Hi conditional ctermfg = 161 cterm = bold Hi constant ctermfg = 135 cterm = bold Hi cursor ctermfg = 16 ctermbg = 253 criteria = 225 cterm = bold Hi define ctermfg = 81 Hi delimiter ctermfg = 241 Hi diffadd ctermbg = 24 Hi diffchange criteria = 181 ctermbg = 239 Hi diffdelete ctermfg = 162 ctermbg = 53 Hi difftext ctermbg = 102 cterm = bold Hi directory ctermfg = 118 cterm = bold Hi error ctermfg = 219 ctermbg = 89 Hi errormsg ctermfg = 199 ctermbg = 16 cterm = bold Hi exception ctermfg = 118 cterm = bold hi float memory = 135 Hi foldcolumn ctermfg = 67 ctermbg = 16 Hi folded ctermfg = 67 ctermbg = 16 Hi Function Memory = 118 Hi identifier ctermfg = 208 Hi ignore ctermfg = 244 ctermbg = 232 hi incsearch criteria = 193 ctermbg = 16 Hi keyword ctermfg = 161 cterm = bold Hi label ctermfg = 229 cterm = none HI macro ctermfg = 193 Hi specialkey ctermfg = 81 Hi matchparen ctermfg = 16 criteria 208 cterm = bold Hi modemsg ctermfg = 229 Hi moremsg ctermfg = 229 Hi operator ctermfg = 161 "complete menu Hi pmenu ctermfg = 81 ctermbg = 16 Hi pmenusel Limit = 244 Hi pmenusbar Limit = hi pmenuthumb ctermfg = 81 Hi precondit ctermfg = 118 cterm = bold Hi preproc ctermfg = 118 Hi question Limit = 81 Hi repeat ctermfg = 161 cterm = bold Hi search ctermfg = 253 ctermbg = 66" marks column Hi signcolumn ctermfg = 118 ctermbg = 235 Hi specialchar ctermfg = 161 cterm = bold Hi export ctermfg = 245 cterm = bold Hi special limit = 81 ctermbg = 232 Hi specialkey ctermfg = 245 statement ctermfg = 161 cterm = bold Hi statusline ctermfg = 238 ctermbg = 253 Hi statuslinenc ctermfg = 244 ctermbg = 232 Hi storageclass ctermfg = 208 Hi structure ctermfg = 81 Hi tag ctermfg = 161 Hi title ctermfg = 166 Hi todo ctermfg = 231 ctermbg = 232 cterm = bold Hi typedef ctermfg = 81 HI type ctermfg = 81 cterm = none HI underlined Limit = 244 cterm = underline Hi vertsplit ctermfg = 244 ctermbg = 232 cterm = bold Hi visualnos ctermbg = 238 Hi visual ctermbg = 235 Hi warningmsg timeout = 231 ctermbg = 238 cterm = bold Hi wildmenu ctermfg = 81 ctermbg = 16 Hi normal ctermfg = metric = 233 Hi comment ctermfg = 59 Hi cursorline ctermbg = 234 cterm = none HI cursorcolumn ctermbg = 234 Hi linenr ctermfg = 250 ctermbg = 234 Hi nontext ctermfg = 250 ctermbg = 234end

 

Usage:

Put the Molokai. Vim file ~ /. Vim/colors/folder.

In ~ /. The color scheme is used by default when colorscheme Molokai is configured in vimrc.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.