• Stars
    star
    396
  • Rank 108,801 (Top 3 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Solarized, without the bullshit.

Solarized, without the bullshit.

Unlike Solarized itself, these Vim colorschemes are guaranteed to give consistent results in most environments without littering your beautiful vimrc with useless crap or paging through hundreds of StackOverflow questions to make sense of a needlessly convoluted setup.

Requirements

GUI

You don’t need to do anything for these colorschemes to work in GVim or MacVim.

TUI

Flattened’s only requirement is the same as Solarized: that you change your terminal emulator’s so-called “ASCII” colors to the ones used by Solarized.

The reason is simple. Most terminal nowadays are capable of displaying 256 colors but none of the colors used in the Solarized palette can be found in the semi-standard Xterm palette. Therefore, we are forced to assign the Solarized non-standard values to colors 0 through 15 of our terminal emulator if we want to see the actual Solarized colors instead of poor approximations.

The exact method depends on your terminal emulator. I’d suggest simply using the values from this table and call it a day:

TERMCOL   HEX     RGB
-------   ------- -----------
black     #073642   7  54  66
red       #dc322f 220  50  47
green     #859900 133 153   0
yellow    #b58900 181 137   0
blue      #268bd2  38 139 210
magenta   #d33682 211  54 130
cyan      #2aa198  42 161 152
white     #eee8d5 238 232 213

brblack   #002b36   0  43  54
brred     #cb4b16 203  75  22
brgreen   #586e75  88 110 117
bryellow  #657b83 101 123 131
brblue    #839496 131 148 150
brmagenta #6c71c4 108 113 196
brcyan    #93a1a1 147 161 161
brwhite   #fdf6e3 253 246 227

Installation

Put flattened_dark.vim and/or flattened_light.vim in ~/.vim/colors/ (on unix-like systems) or %userprofile%\vimfiles\colors\ (on Windows).

Configuration

What do you want to configure? It’s a freaking colorscheme!

Usage

If you want the “dark” version:

:color flattened_dark

If you want the “light” version:

:color flattened_light

If you like what you see and decide to make flattened your default colorscheme, add the relevant line to your vimrc:

colorscheme flattened_light

or:

colorscheme flattened_dark

Screenshots or it didn’t happen

MacVim

flattened_dark in Macvim

flattened_light in Macvim

iTerm

flattened_dark in iTerm

flattened_light in iTerm

More Repositories

1

idiomatic-vimrc

Guidelines for sculpting your very own ~/.vimrc.
1,067
star
2

Apprentice

A dark, low-contrast, Vim colorscheme.
Vim Script
854
star
3

vim-qf

Tame the quickfix window.
Vim Script
594
star
4

vim-cool

A very simple plugin that makes hlsearch more useful.
Vim Script
525
star
5

ctags-patterns-for-javascript

Exuberant Ctags Patterns for JavaScript
JavaScript
409
star
6

vim-rnb

RNB, a Vim colorscheme template
HTML
138
star
7

the-patient-vimmer

A guide for patient Vimmers.
112
star
8

vim-dichromatic

A dark Vim colorscheme for color blind vimmers. But not only.
HTML
82
star
9

vim-qlist

Persist the results of :ilist and related commands via the quickfix list.
Vim Script
66
star
10

vim-devdocs

Look up keyword on https://devdocs.io from Vim
Vim Script
55
star
11

minivimrc

Vim Script
41
star
12

iterm2-colorschemes

A collection of iTerm2 colorschemes.
23
star
13

apprentice-colorschemes

Terminal emulator themes based on the Apprentice Vim colorscheme
Shell
17
star
14

vim-tinyMRU

Vim Script
15
star
15

Disciple

A light low-contrast Vim colorscheme.
Vim Script
12
star
16

nanovimrc

Smaller than mini, smaller than micro: nano.
Vim Script
10
star
17

vim-colors

Modern rewrite of Vim's default colorschemes.
HTML
7
star
18

microvimrc

Smaller than mini, bigger than nano: micro.
Vim Script
6
star
19

quickstart

Makefile
5
star
20

vim-quicklist

Persist the result of list-like Ex commands to the quickfix list.
Vim Script
3
star
21

vim-malotru

A relatively comfortable Vim colorscheme primarily designed for 16color terminal emulators
Vim Script
2
star
22

ctagsd

Run ctags upon file change/addition/deletion in a Git repository
Shell
2
star
23

vim-sweet16

A 'light' colorscheme using exclusively the lower 16 colors of the xterm palette.
HTML
1
star
24

lspc

A Language Server Protocol Client for Vim. Maybe.
1
star
25

acp-forked

A personal fork of an old version of AutoComplPop.
Vim Script
1
star