Archery


Ⅰ. 插件描述

:dart: Vim colorscheme inspired by Arch Linux colors

Ⅱ. 基本信息

创建日期:  2017-03-03
使用用户:  33
Github星:  52
插件作者:  Baptiste Vannesson

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Logo

About

Archery is a dark colorscheme for Vim, inspired by Arch Linux color palette. This is where beautiful shades of blue meet mysterious shades of gray!

Screenshot

Installation

It is recommended to install Archery with a Vim plugin manager:

Then enable the colorscheme in your vimrc with the following command: colorscheme archery

If you only use GVim, you're done! If you use terminal Vim, read on...

  1. Archery supports 256 colors terminals, so you do not need plugins like CSApprox or GUIColorscheme to use it.
  2. Open your vimrc with Vim in your terminal and try :set termguicolors. If colors are rendered properly, you can add this command in your vimrc to use GUI colors directly (these are defined using the hexadecimal notation).
  3. If "termguicolors" does not work, add set t_Co=256 in your vimrc before setting the colorscheme and configure your terminal emulator to use the Archery color palette given below.

Color palette

Palette

colorsctermgui
color00#25272C
color11#BA2A2A
color22#008542
color33#F07D30
color44#0088CC
color55#8D4888
color66#006596
color77#53586F
color88#354151
color99#C95F5F
color1010#73BA25
color1111#EAC06E
color1212#81A3CF
color1313#B589C2
color1414#25B8A5
color1515#F6F9FC

In GVim, color8 will be #282D34 instead of #354151. Why? Because some CLI tools use the dark gray color to display textual information. This makes some text unreadable, due to the dark background of Archery. So in terminal emulators, color8 must be lighter...

Nice status & tab lines

If you want to display a status line and a tab line in Vim, make sure these options are set in your vimrc:

set showtabline=2
set laststatus=2

Airline

Airline

Put the following code in your vimrc to use Archery for Airline:

let g:airline_theme = 'archery'

For further configuration, please read the documentation of Airline.

Lightline

Lightline

Put the following code in your vimrc to use Archery for Lightline:

let g:lightline = {
    \ 'colorscheme': 'archery',
    \ }

For further configuration, please read the documentation of Lightline. You may also consider lightline-buffer to display a useful tab line.

Plugins support

Archery plays nicely with the following plugins:

Syntax optimizations

Raw

  • CSS
  • Markdown
  • Readline
  • YAML

Tags

  • HTML
  • XML

Programming

  • C/C++
  • Java
  • JavaScript
  • Perl
  • PHP
  • Python
  • Ruby

More 

Archery is the default colorscheme of Vimpressionist.

If you would like to use Vim everywhere on your computing environment, you should definitely check it out!

添加新评论