-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Monokai-inspired colorscheme #270
Comments
Hi @romainl, I'm up for the challenge but I have never created Vim colorscheme from scratch. Should I start by porting vim-monokai using vim-colortemplate? What about colorscheme name, which one should be used for port? How about unokai? |
Cool! The first step will be be to familiarize yourself with Colortemplate by playing with a template in this repo while reading its documentation. The second step will be to:
And the third step will be to massage that template until it looks like the others in this repo and. Some of the colors will need to be ajusted a little, some of them will need to go because they are too close to existing ones, choices will need to made, etc. so that third step will not happen in an afternoon, obviously. But that's not a problem because we are not in a rush. It is important to keep this in mind: the colorschemes in this repo are distributed with Vim so they are meant to work in as many environments as possible, from monochrome terminals to GUIs with millions of colors. This imposes a bunch of restrictions on what can be done. |
For step 2, I'd suggest that you start Vim with a vimrc that just loads the color scheme. By doing so, you will avoid importing a bunch of filetype-specific or plugin-specific highlight groups that you may have in your environment but you don't want in your color scheme. Example of minimal vimrc: set nocompatible
filetype on
filetype plugin on
syntax on
set packpath+=~/.vim/pack/plugins/start/colortemplate
set runtimepath+=~/.vim/pack/colors/start/monokai
colorscheme monokai In which of course you need to update the paths to match the location of Colortemplate and Monokai, respectively. Save as |
Reference: https://github.com/ku1ik/vim-monokai.
The text was updated successfully, but these errors were encountered: