139

GitHub - arzg/vim-colors-xcode: Xcode 11’s dark and light colourschemes, now for...

 5 years ago
source link: https://github.com/arzg/vim-colors-xcode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

vim-colors-xcode

xcodedark.png xcodelight.png

Xcode 11’s dark and light colourschemes, now for Vim!

made in Colortemplate, the Toolkit for Vim Colourscheme Designers

Installation

Use your favorite runtimepath/plugin manager, or place xcodedark.vim and xcodelight.vim into ~/.vim/colors/ for *nix and %userprofile%\vimfiles\colors\ for Windows.

Language Support

This colourscheme has been carefully tuned for the following language plugins:

Options

Use :help xcodedark and :help xcodelight to view a list of all the possible options from within Vim. Add either g:xcodedark_ or g:xcodelight_ in front of every option name for use. For example, emph_funcs would turn into g:xcodedark_emph_funcs if you want it to apply to the dark variant and g:xcodelight_emph_funcs for the light version.

Comment Style

green_comments Dark Light 0 1

Syntax Item Emphasis

emph_types, emph_funcs, emph_idents Dark Light 1,
0,
0 0,
1,
0 0,
1,
1

Usage

If you’re using a GUI, then vim-colors-xcode should work out of the box. However, if you’re planning to use vim-colors-xcode in a terminal, the terminal must support 24-bit colour, also known as True Colour. If you want other terminal output to match with vim-colors-xcode, then set its colours to match the ones below:

Dark:

Colour Normal Bright Black #33343c #7f8c98 Red #ff8170 #ff8170 Green #78c2b3 #acf2e4 Yellow #d9c97c #ffa14f Blue #4eb0cc #6bdfff Magenta #ff7ab2 #ff7ab2 Cyan #b281eb #dabaff White #dfdfe0 #dfdfe0 Foreground #dfdfe0

Background #292a30

Light:

Colour Normal Bright Black #e5e5e5 #8a99a6 Red #d12f1b #d12f1b Green #3e8087 #23575c Yellow #78492a #78492a Blue #0f68a0 #0b4f79 Magenta #ad3da4 #ad3da4 Cyan #804fb8 #4b21b0 White #262626 #262626 Foreground #262626

Background #ffffff

iTerm presets for both of these are included with this repository.

If you would like to have italic comments add the following to your vimrc:

augroup vim-colors-xcode
    autocmd!
augroup END

autocmd vim-colors-xcode ColorScheme * hi Comment        cterm=italic gui=italic
autocmd vim-colors-xcode ColorScheme * hi SpecialComment cterm=italic gui=italic

The font in the screenshots is SF Mono, which you can download from Apple’s website.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK