| Number of watchers on Github | 779 |
| Number of open issues | 7 |
| Average time to close an issue | 1 day |
| Main language | VimL |
| Average time to merge a PR | 4 days |
| Open pull requests | 2+ |
| Closed pull requests | 4+ |
| Last commit | almost 2 years ago |
| Repo Created | about 6 years ago |
| Repo Last Updated | over 1 year ago |
| Size | 89 KB |
| Organization / Author | junegunn |
| Contributors | 7 |
| Page Updated | 2018-03-12 |
| Do you use seoul256.vim? Leave a review! | |
| View open issues (7) | |
| View seoul256.vim activity | |
| View on github | |
| Fresh, new opensource launches 🚀🚀🚀 | |
|
Trendy new open source projects in your inbox!
View examples
|
|
" _____ _ ___ ___ ___ "
" | __|___ ___ _ _| |_ | _| _| "
" |__ | -_| . | | | | _|_ | . | "
" |_____|___|___|___|_|___|___|___|.vim "
seoul256.vim is a low-contrast Vim color scheme based on Seoul Colors. Works on 256-color terminal or on GVim.


Use your favorite plugin manager.
Plug 'junegunn/seoul256.vim' to .vimrc:PlugInstall
" Unified color scheme (default: dark)
colo seoul256
" Light color scheme
colo seoul256-light
" Switch
set background=dark
set background=light

" seoul256 (dark):
" Range: 233 (darkest) ~ 239 (lightest)
" Default: 237
let g:seoul256_background = 236
colo seoul256
" seoul256 (light):
" Range: 252 (darkest) ~ 256 (lightest)
" Default: 253
let g:seoul256_background = 256
colo seoul256
If g:seoul256_background is set, seoul256 will choose the right version based
on the value and set background=dark/light will not switch versions.
If you'd like to switch versions with custom background colors, set
g:seoul256_background to be a dark value, and additionally define
g:seoul256_light_background for seoul256-light.
let g:seoul256_background = 233
let g:seoul256_light_background = 256
colo seoul256
colo seoul256-light
The GUI RGB colors are derived from 256-color-terminal color codes in the source code, with the help of a lookup table.
By default, the table contains RGB values of terminal colors as displayed by iTerm2 on macOS. If you're using another terminal emulator (urxvt, xfce4-terminal,... pretty much any terminal on Linux), the colors aren't displayed in the same way. That's why you may see a difference in color of GUI and terminal [n]vim in Linux.
If let g:seoul256_srgb is set to 1, the color mapping is altered
to suit the way urxvt (and various other terminals) renders them. That way, the
colors of the terminal and GUI versions are uniformly colored on Linux.
let g:seoul256_srgb = 1
When loaded, soul256.vim will set up two global variables so that you can use them to customize other plugins:
g:seoul256_current_fg - Current foreground color in ANSI codeg:seoul256_current_bg - Current background color in ANSI codeJunegunn Choi
MIT