sourcerer


Ⅰ. 插件描述

read code like a wizard. a 16bit color scheme for hackers

Ⅱ. 基本信息

创建日期:  2015-06-28
使用用户:  4
Github星:  106
插件作者:  x0

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'xero/sourcerer'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'xero/sourcerer'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'xero/sourcerer'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

  ██████  ██████  ██   ██ ██████  █████   █████  ██████  █████  ██████
 ██░░░░  ██░░░░██░██  ░██░░██░░████░░░██ ██░░░██░░██░░████░░░██░░██░░██
░░█████ ░██   ░██░██  ░██ ░██ ░░░██  ░░ ░███████ ░██ ░░░███████ ░██ ░░
 ░░░░░██░██   ░██░██  ░██ ░██   ░██   ██░██░░░░  ░██   ░██░░░░  ░██   
 ██████ ░░██████ ░░██████░███   ░░█████ ░░██████░███   ░░██████░███   
░░░░░░   ░░░░░░   ░░░░░░ ░░░     ░░░░░   ░░░░░░ ░░░     ░░░░░░ ░░░   
 r  e  a  d     c  o  d  e     l  i  k  e     a     w  i  z  a  r  d 

sourcerer by xero harrison (http://sourcerer.xero.nu)
 ├─ based on sorcerer by Jeet Sukumaran (http://jeetworks.org)
 └─ based on mustang by Henrique C. Alves (hcarvalhoalves@gmail.com)

a 16 bit color scheme for hackers.

install

vim

copy sourcerer.vim to ~/.vim/colors/ or install it from the standalone repo with your vim plugin manager e.g. Plugin 'xero/sourcerer.vim'

then in your ~/.vimrc add colorscheme sourcerer and turn :syntax on.

Xresources

copy the contents of sourcerer.Xresources into your ~/.Xresources or ~/.Xdefaults file. your system may require you to call xrdb -merge ~/.Xresources and/or restart your terminal emulator.

framebuffer

copy sourcerer.sh into your home directory and add source ~/sourcerer.sh to your shell init script ~/.bashrc or ~/.zshrc. colors will only be applied in a new tty session.

iterm

launch iterm/item2, type CMD+i, navigate to Colors tab, click on Load Presets, click on Import and select sourcerer.itermcolors.

pygments

copy sourcerer.py to your styles directory, ususally /usr/lib/python3.5/site-packages/pygments/styles. then set the style when you use the command: pygmentize -O style=sourcerer -f console256 -g (make it can alias like ccat or c).

添加新评论