photon.vim


Ⅰ. 插件描述

An elegant dark Vim colour scheme with minimal syntax highlighting that cares about the little details.

Ⅱ. 基本信息

创建日期:  2019-03-23
使用用户:  2
Github星:  51
插件作者:  Alex Vear

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'axvr/photon-vim-frighten-you'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'axvr/photon-vim-frighten-you'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'axvr/photon-vim-frighten-you'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/axvr/photon.vim

Ⅳ. 文档说明

# Photon.vim

An elegant dark Vim colour scheme with minimal syntax highlighting that cares
about the little details.

Image of Photon

Editor Search
<img alt="Image of editor colours" title="Editor" width="500" src="https://github.com/axvr/photon.vim/raw/images/photon1.png" /> <img alt="Image of search colours" title="Search" width="500" src="https://github.com/axvr/photon.vim/raw/images/photon2.png"
Completion menu Status line and tab line
<img alt="Image of completion menu colours" title="Completion menu" width="500" src="https://github.com/axvr/photon.vim/raw/images/photon3.png" <img alt="Image of status line and tab line colours" title="Status line and tab line" width="500" src="https://github.com/axvr/photon.vim/raw/images/photon4.png"

_The files shown in the above screenshots are from
txtdb and irc.c. The
font is Inconsolata created
by Raph Levien._

Usage

Install this colour scheme using your preferred method, then place the
following line in your Vim configuration.

colorscheme photon

No other configuration should be required.

If you are having difficulties getting the colours to look like they do in the
screenshots, please create an issue and I'll be happy to try and help.

What makes Photon different? (Photon vs. Paramount)

Photon is a complete rewrite of [Paramount][], using [RNB][] as the generator.
It aims to take Paramount's goal of "only [putting] emphasis on the
paramount" to the next level by expanding the beauty of Paramount into the rest
of Vim's interface.

The main editor colours were taken from Paramount and are now used throughout
the entirety of Vim's interface, such as the completion menu, help system,
search matches, error messages and everything else.

The status line colours were taken from [space-vim-dark][] and extended to the
tab line. The background colour, cursor line and colour column colours were
taken from [Apprentice][].

A new colour was introduced (the orange) and is used to place further emphasis
on the most important temporary things, such as TODOs, matching
parenthesis, first matching search result, etc.

The following images make for a good comparison of just a few of the big
interface differences between Photon (left) and Paramount (right):

Photon Paramount
<img alt="Comparison image of Photon" title="Photon" width="500" src="https://raw.githubusercontent.com/axvr/photon.vim/images/photon-compare1.png" /> <img alt="Comparison image of Paramount" title="Paramount" width="500" src="https://raw.githubusercontent.com/axvr/photon.vim/images/paramount1.png" />

Ports

I have created a basic GNU Emacs port
which is far from finished, but I'm not working on it any more as I no longer
use Emacs. If you want it anyway you can get it from the
contrib branch.

Attribution

Based on the [paramount][] and [space-vim-dark][] colour schemes. Made possible
thanks to [Romain Lafourcade][]'s fantastic [RNB][] Vim colour scheme template.

添加新评论