•  


GitHub - junegunn/seoul256.vim: :deciduous_tree: Low-contrast Vim color scheme based on Seoul Colors
Skip to content

junegunn/seoul256.vim

Folders and files

Name Name
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"  _____             _ ___ ___ ___      "
" |   __|___ ___ _ _| |_  |  _|  _|     "
" |__   | -_| . | | | |  _|_  | . |     "
" |_____|___|___|___|_|___|___|___|.vim "

seoul256.vim travis-ci

seoul256.vim is a low-contrast Vim color scheme based on Seoul Colors . Works on 256-color terminal or on GVim.

seoul256

seoul256

seoul256 (light version)

seoul256-light

Installation

Use your favorite plugin manager.

  • vim-plug
    1. Add Plug 'junegunn/seoul256.vim' to .vimrc
    2. Run :PlugInstall

Color schemes

"
 Unified color scheme (default: dark)

colo
 seoul256

"
 Light color scheme

colo
 seoul256
-
light

"
 Switch

set
 background
=
dark
set
 background
=
light

Change background color

seoul256-bg

"
 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

Alternate 256-xterm -> sRGB mapping

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

Current background color

When loaded, seoul256.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 code
  • g:seoul256_current_bg - Current background color in ANSI code

iTerm2 color scheme

Emacs color theme

kitty color theme

Author

Junegunn Choi

License

MIT

About

?? Low-contrast Vim color scheme based on Seoul Colors

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본