whatisgithub

What is molokai?

tomasr/molokai — explained in plain English

Analysis updated 2026-05-18

3,624VimLAudience · developerComplexity · 1/5Setup · easy

In one sentence

A dark, colorful color scheme for the Vim text editor, ported from the popular TextMate Monokai theme.

Mindmap

mindmap
  root((molokai))
    What it is
      Vim color scheme
      Ported from Monokai
    Appearance
      Dark gray background
      Optional TextMate background
    Compatibility
      Graphical Vim
      256 color terminal
      Experimental terminal mode
    Install
      Copy one file
      No build step

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Install a dark, readable color scheme for Vim in one file copy.

USE CASE 2

Switch the background to match the original TextMate Monokai colors.

USE CASE 3

Use the scheme in a graphical Vim window with full color support.

USE CASE 4

Enable the experimental 256-color terminal mode for a closer match to the GUI look.

What is it built with?

VimL

How does it compare?

tomasr/molokaikien/ctrlp.vimdavidpdrsn/vim-leaderboard
Stars3,6247,2394
LanguageVimLVimLVimL
Last pushed2014-11-22
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity1/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Just copy one file into Vim's colors folder, no package manager needed.

No license information is stated in the explanation.

So what is it?

Molokai is a color scheme for Vim, a text editor widely used by programmers. Color schemes control the colors assigned to different parts of code: keywords, strings, comments, and other elements each get a distinct color, which makes the text easier to read at a glance. Molokai is a port of a theme called Monokai, originally created for TextMate, a different code editor. This project adapts that same design to work inside Vim, keeping a similar look and feel to what TextMate users were already familiar with. The default appearance uses a dark gray background. This specific background is based on a variation of the original monokai design adapted for the E editor by Hamish Stuart Macpherson. If you prefer the background to match the original TextMate monokai color instead, you can switch it with one line added to your Vim configuration file. The scheme works in both graphical Vim windows and 256-color terminal environments, though there are some visual differences between the two. Terminal support is currently limited to the dark gray background style. There is also an alternative 256-color mode under development that tries to bring the terminal version closer in appearance to the graphical version, which can be enabled with a separate configuration option. Installation requires copying one file into the colors folder inside your Vim configuration directory. No package manager or build step is needed. The README for this project is short and covers only the core installation and the two optional configuration flags described above.

Copy-paste prompts

Prompt 1
Explain how to install the Molokai color scheme in my Vim config.
Prompt 2
How do I switch Molokai to the original TextMate background color?
Prompt 3
What's the difference between Molokai in graphical Vim versus a terminal?
Prompt 4
Show me how to enable Molokai's 256-color terminal mode.

Frequently asked questions

What is molokai?

A dark, colorful color scheme for the Vim text editor, ported from the popular TextMate Monokai theme.

What language is molokai written in?

Mainly VimL. The stack also includes VimL.

What license does molokai use?

No license information is stated in the explanation.

How hard is molokai to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is molokai for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.