Monokai color scheme for Vim converted with coloration from Textmate theme with the same name.
Put monokai.vim
file in your ~/.vim/colors/
directory and add the following line to your ~/.vimrc
:
syntax enable
colorscheme monokai
Monokai color scheme for Vim converted from Textmate theme
License: MIT License
Monokai color scheme for Vim converted with coloration from Textmate theme with the same name.
Put monokai.vim
file in your ~/.vim/colors/
directory and add the following line to your ~/.vimrc
:
syntax enable
colorscheme monokai
Thank you so much for this theme :)
The link to the screenshot in the readme doesn't work
Response:
Cannot proxy the given URL
Hello everyone! I am new to using vim, however it has proven to be a very effective tool. I've googled but can't find a way to change the background color assigned by the Monokai theme. I have seen the following in the code:
set background=dark
However I have tried to edit that line without success (in addition to other recommendations on google).
In short, I would like to know how I can change the "gray" background color assigned by the Monokai.vim theme to a darker one (something like # 222222).
Hope you can give me some idea.
Hello,
First off I love this colorsheme, great work. I am trying however to make the background (area under code, as well as sidebar/SignColumn) one color (picture below):
I've tried things like :highlight SignColumn guibg=darkgrey
or highlight clear SignColumn
for the column but nothing worked.
Any ideas? Thanks
The class name is just plain white when it should be colored.
All the block below is white:
<?php
namespace LibBooks;
use Beroux\AdvancedCart;
use Beroux\Currency;
class MyClass extends ClassBase
{
im not able to change the background
:verbose set background?
background=light
Last set from ~/.config/nvim/plugged/vim-monokai/colors/monokai.vim
Previously the background
was set to dark
, which I think looks much better. Doing
colorscheme monokai
set background=dark
causes very weird coloration after reopening Neovim.
Someone on Gitter mentioned it having something to do with the Normal setting, but I'm clueless on how that works.
EDIT: It seems that https://github.com/viniciusban/vim-monokai/commit/ccf64ba420813f49ead45ef47c0ac6ccdf2a6187 fixes this issue for me, specifically this line https://github.com/viniciusban/vim-monokai/commit/ccf64ba420813f49ead45ef47c0ac6ccdf2a6187#diff-1086d27abfd7189ca65d49e9b001ceffR31
Vim: Neovim v0.2.2
Term: Konsole v18.04.2
Monokai 859f4ce installed with Plug
Config:
call plug#begin()
Plug 'sickill/vim-monokai'
call plug#end()
set termguicolors
syntax enable
colorscheme monokai
Hi,
I would like to thank you for this extremely beautiful theme that represents sublime. However, when I am using it on Python, I realize that usually, Sublime has a mixture of colors for the keywords, i.e. red and blue. Unfortunately, mine colors red for every keyword. Is it not supported for Python? It would be great if it could differentiate the colors between different keywords. Supposedly, if it is a function, it colors it blue as Sublime does.
This happens with all generator expressions, or at least it seems to.
Neovim v0.2.2 with set termguicolors
in Konsole v17.12.3
Referenced code:
target_include_directories(${PROJECT_NAME} PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/sago>
$<INSTALL_INTERFACE:sago>
)
Hi,
this is a really nice theme.
I just tried to use it for Haskell but some elementary things aren't highlighted.
These are for example the keywords data, type or class.
I've managed to highlight them by adding following two lines to your theme:
:hi hsTypedef ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
:hi hsStructure ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
As can be seen, I used the color informations which is used for strings.
Maybe these two lines could be added to vim-monokai by default...
Thanks, Chris
I did according to the Installation
but the theme remains old style
Hi,
Can someone tell me how to install this theme in NeoVim ?
regards
http://coloration.sickill.net link in the readme renders a dead page for me half the time, the other half it's a "mac virus" phishing page.
Hi sickill,
I would like to use a color scheme based on yours. Would you be able to provide a license e.g. BSD-2-Cluase or MIT, so that I may fork your github repo properly?
Hey, I noticed this hasn't been updated in awhile and there are some outstanding issues and PRs I'd like to see merged.
I like this color scheme a lot, so would be happy to help maintain this repo. One thing I'd want to do is make this compatible with vim-plug for easy installation.
I encountered this problem.And this theme is not effective.What should i do to solve it ?
Hi @sickill,
I'm using your monokai
color scheme, by the way thanks to share it, but I'm having some trouble with Typescript highlighting.
I'm using this plugin, and I would like to add support for this highlighting to your theme. As I'm pretty new to VIM and absolutely new to define color scheme, can you point me in the right direction?
Thanks in advance
Teone
Hi! So I'm looking for a Vim theme that looks like the default bat
syntax highlighting for Python and found your Monokai theme. Any help resolving this is greatly appreciated.
Vim version: 9.1
OS FreeBSD 14.0-RELEASE-p4
I put monokai.vim in my ~/.vim/colors/ directory and added
syntax enable
colorscheme monokai
to ~/.vimrc
When I run $ vim <file>.py
, I get the following error message:
Error detected while processing ~/.vimrc[61] ~/.vim/colors/monokai.vim:
line 1:
E492: Not an editor command: {"payload":{"allShortcutsEnabled":false,"fileTree":{"colors":{"item
s":[{"name":"monokai.vim","path":"colors/monokai.vim","contentType":"file"}],"totalCount":1},"":
{"items":[{"name":"colors","path":"colors","contentType":"directory"},{"name":"LICENSE.txt","pat
h":"LICENSE.txt","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"fil
e"}],"totalCount":3}},"fileTreeProcessingTime":13.322644,"foldersToFetch":[],"reducedMotionEnabl
ed":null,"repo":{"id":2626112,"defaultBranch":"master","name":"vim-monokai","ownerLogin":"ku1ik"
,"currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-10-22T13:32:20.000Z
","ownerAvatar":"https://avatars.githubusercontent.com/u/17589?v=4","public":true,"private":fals
e,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","li
stCacheKey":"v0:1613517005.403082","canEdit":false,"refType":"branch","currentOid":"6fb52e328636
46e38cdebce57ae0d1688f334a79"},"path":"colors/monokai.vim","
Thank you for making my vim very sexy.
Cheers!
Any plan on adding this in?
The screenshot link on the README is dead.
I've tried many times in ~/.vimrc /etc/vim /usr/share/vim directories but it doesnt
't work at all
I noticed that there can be blue highlight for some keywords such as "int", just like the one in sublime text. But I don't know how to set up this feature here. Is it possible to do so with this project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.