Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
A fork of https://github.com/altercation/vim-colors-solarized completely
rewritten from scratch. The following corrections where included:

- Improve StatusLine contrast
  (altercation/vim-colors-solarized#165)
- Fix SignColumn by setting bg color to base02
- Fix CursorLineNr by setting fg color to base01
- Fix typo in links to "pandocTableStructre" instead of
  "pandocTableStructure"
  • Loading branch information
ericbn committed Nov 7, 2016
0 parents commit 22f16cd
Show file tree
Hide file tree
Showing 5 changed files with 921 additions and 0 deletions.
77 changes: 77 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@

# Created by https://www.gitignore.io/api/linux,macos,vim,windows

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*


### macOS ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


### Vim ###
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags


### Windows ###
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk
77 changes: 77 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# solarized.vim

A simpler fork of the awesome [Solarized colorscheme for Vim](https://github.com/altercation/vim-colors-solarized) by Ethan Schoonover.

What was removed? The degraded 256 color scheme, and all the functions and configuration options. Bold and underline attributes are enabled for both terminal and GUI modes. Italic is only enabled for GUI.

ERB templates are used to generate the colorscheme source, so the code is easy to maintain and it runs fast in Vim.

## Requirements

For users of Vim in terminal mode, the terminal emulator color scheme must be set to the Solarized palette:
```
Term Color | Hex | RGB
-----------|---------|------------
brblack | #002b36 | 0 43 54
black | #073642 | 7 54 66
brgreen | #586e75 | 88 110 117
bryellow | #657b83 | 101 123 131
brblue | #839496 | 131 148 150
brcyan | #93a1a1 | 147 161 161
white | #eee8d5 | 238 232 213
brwhite | #fdf6e3 | 253 246 227
yellow | #b58900 | 181 137 0
brred | #cb4b16 | 203 75 22
red | #dc322f | 220 50 47
magenta | #d33682 | 211 54 130
brmagenta | #6c71c4 | 108 113 196
blue | #268bd2 | 38 139 210
cyan | #2aa198 | 42 161 152
green | #859900 | 133 153 0
```

Configuration files for the main terminal emulators can be found in the [Solarized](https://github.com/altercation/solarized) repository.

## Installation

- Manual:

curl -fLo ~/.vim/colors/solarized.vim --create-dirs https://raw.githubusercontent.com/ericbn/vim-solarized/master/colors/solarized.vim

- Using [pathogen.vim](https://github.com/tpope/vim-pathogen):

cd ~/.vim/bundle
git clone git://github.com/ericbn/vim-solarized.git

- Using [vim-plug](https://github.com/junegunn/vim-plug):

Plug 'ericbn/vim-solarized'

## Configuration

Add one of the following to your `.vimrc`:

- For dark background:

syntax enable
set background=dark
colorscheme solarized

- For light background:

syntax enable
set background=light
colorscheme solarized

MacVim users will also want to configure their `.gvimrc` file, or add the following line to `.vimrc`:

let macvim_skip_colorscheme = 1

## Contributing

Edit the ERB files and run `erb solarized.vim.erb > colors/solarized.vim` to generate the colorscheme file. Submit the changes in all the files.

## License

Copyright © Ethan Schoonover. Distributed under the same terms as Vim itself.
See `:help license`.
Loading

0 comments on commit 22f16cd

Please sign in to comment.