Git Product home page Git Product logo

vim-sublime-monokai's Introduction

Sublime Monokai for Vim

vim-sublime-monokai is a refined Monokai color scheme for vim tries to look like Sublime's default color scheme. It's derived from the work put into:

I noticed that there were several places where the highlighting wasn't entirely faithful to that of Sublime, which is my second choice for editing in my day-to-day. The purpose of this project is to provide an experience that matches Sublime as closely as possible.

Note that, in my case, I use several plugins to enhance my own highlighting and ctags experience. Where possible, the dependent plugins have been noted for languages whose highlighting would otherwise be impossible to make equivalent to Sublime. Conflicts with other plugins that I've used have been noted. You will NOT get full fidelity with Sublime's highlighting if you use conflicting plugins with this color scheme enabled.

Installation

Use your favorite plugin manager! Alternatively, download the colors/sublimemonokai.vim file and move it into your colors folder.

Usage

After installing this plugin via your favorite plugin manager, add the following to your vimrc:

syntax on
colorscheme sublimemonokai

Terminal support

vim-sublime-monokai only support 256 colours in terminal. If you are using a terminal which support truecolor like iterm2, enable the GUI color by adding the following to your vimrc:

set termguicolors

Otherwise, use below setting to activate the 256 color in terminal

set t_Co=256

Configuration

Italics

By default italicized text is enabled in GUI (gVim), but in terminal it's not. If you are using a font that support italics in terminal, add the following to your .vimrc:

let g:sublimemonokai_term_italic = 1

Language-specific configuration

In order to provide an experience with parity to Sublime, this color scheme integrates with the highlighting groups that several language-specific plugins specify. You will need to install these plugins in order to have Sublime-like highlighting.

Javascript

  1. vim-javascript for the core language
  2. vim-javascript-lib, for popular Javascript libraries, like underscore and Backbone.

Conflicts with Javascript

Screenshots

Javascript

HTML

vim-sublime-monokai's People

Contributors

crusoexia avatar erichdongubler avatar

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.