Code Monkey home page Code Monkey logo

vim-monokai's Introduction

vim-monokai

Monokai color scheme for Vim converted with coloration from Textmate theme with the same name.

Screenshots

Monokai in Vim

Installation

Put monokai.vim file in your ~/.vim/colors/ directory and add the following line to your ~/.vimrc:

syntax enable
colorscheme monokai

vim-monokai's People

Contributors

arlimus avatar arvind-iyer avatar atomtoast avatar beakr avatar fpereira1 avatar giodamelio avatar goodtimeaj avatar ingram1107 avatar joeytwiddle avatar ku1ik avatar tonyjmnz avatar viniciusban avatar vladdesv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vim-monokai's Issues

Wrong comment color?

I've been using this theme for a while, but not from your repo, and wanted to check if this was the right comment color?

This wasn't the case for me before. Thanks!

screenshot 2017-05-11 14 45 03

Some keywords are missing for Haskell

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

Thank you

Thank you for making my vim very sexy.

Cheers!

Can I help out as a maintainer?

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.

How to make background one solid color?

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):

image

I've tried things like :highlight SignColumn guibg=darkgrey or highlight clear SignColumn for the column but nothing worked.

Any ideas? Thanks

Error detected while processing ~/.vimrc[61] ~/.vim/colors/monokai.vim

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","

All keywords have the same color for Python.

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.

how to modify the background color?

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.

PHP class not colored

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
{

Works in Putty(xterm), but not in Centos7 terminal(linux)

I would like to thank you for developing this theme, it supports Ruby, which is great.

I can see the effect in Putty sessions, but not in real CentOS 7 terminal(no GUI). I guess it does not support 16 colors.

In putty when I echo $TERM, I see xterm, while in CentOS, I see linux.
In Putty:
putty vim

In VMware CentOS 7, without Gnome:
centos7 vim

don't work : (

I did according to the Installation
but the theme remains old style

Higlighting missing for typescript

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

Provide a license

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?

Treesitter Support

When I'm using Treesitter, the syntax colors (at least in Ruby) end up looking wrong. Would there be any interest in merging a pull request if I put one together to fix this?

Without Treesitter:
Screen Shot 2022-05-06 at 10 02 42 AM

With Treesitter:
Screen Shot 2022-05-06 at 10 03 24 AM

Thank you

Highlighting of a c-like for loop in bash

The highlighting of c-like for loops in bash isn't working as you can see on the screenshot below, where only the '0' has a different color than the whole for line.

vim

Background is getting set to 'light'

: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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.