Ⅰ. 插件描述
A cold, dark colourscheme for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'arzg/vim-substrata'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'arzg/vim-substrata'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'arzg/vim-substrata'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/arzg/vim-substrata
Ⅳ. 文档说明
<h1>vim-substrata</h1>
<h3>a cold, dark colourscheme for Vim</h3>
made in Colortemplate, the Toolkit for Vim Colourscheme Designers
inspired by Nord and Iceberg
|
Installation
Use your favorite runtimepath/plugin manager, or place substrata.vim into~/.vim/colors/ for *nix and %userprofile%\vimfiles\colors\ for Windows.
Usage
Vim
Substrata should work out of the box if you’re using a GUI Vim such as GVim or MacVim. Terminal usage, however, requires the terminal supporting 24-bit colour, also known as True Colour.
set termguicolors " Only needed in terminals
colorscheme substrataTerminal
If you want other terminal output to match with Substrata, then set your terminal emulator’s colours to match the ones below:
| Colour | Normal | Bright |
|---|---|---|
| Black | #2e313d | #5b5f71 |
| Red | #cf8164 | #fe9f7c |
| Green | #76a065 | #92c47e |
| Yellow | #ab924c | #d2b45f |
| Blue | #8296b0 | #a0b9d8 |
| Magenta | #a18daf | #c6aed7 |
| Cyan | #659ea2 | #7dc2c7 |
| White | #b5b4c9 | #f0ecfe |
| Foreground | #b5b4c9 | |
| Background | #191c25 |
A preset is included for iTerm and in Xresources format. The Xresources format can be used either by copying the contents of xresources/substrata.xresources into ~/.Xresources, or, if you would prefer to keep the theme in a separate file, you can instead include it with the following syntax:
#include "/path/to/substrata.xresources"Screenshots
Note that the screenshots below are likely to be slightly out of date. The typeface used in the screenshots is iA Writer Mono, which is derived from IBM Plex Mono.
Popup menu
Searching
Diffing
Writing using Goyo and Limelight
Visual mode
Fugitive
Inspiration
Substrata was inspired by these colourschemes (they’re great, you should check them out!):
<h3>a cold, dark colourscheme for Vim</h3>
made in