vim-plan9


Ⅰ. 插件描述

A colourscheme inspired by https://github.com/plan9-for-vimspace/acme-colors

Ⅱ. 基本信息

创建日期:  2018-09-22
使用用户:  1
Github星:  4
插件作者:  Aramis Razzaghipour

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-plan9

A colourscheme for vim that’s basically acme-colors
with a bunch of customisations. This colourscheme uses the
excellent colortemplate by
lifepillar.

This colourscheme will work perfectly (meaning the colours are
exactly what they are meant to be) in GUIs and 16 colour terminals
using the included palette and terminfo. It will work in 256
colour terminals, but not without a large degration in colour
accuracy.

Installation

GUI

  1. Install how you would install any other plugin
  2. Remove all colourscheme-related config from your vimrc
  3. Add this to the very bottom of the vimrc:

    colorscheme plan9
  4. Done!

Terminal

  1. Install how you would install any other plugin
  2. Remove all colourscheme-related config from your vimrc
  3. Add this to the very bottom of the vimrc:

    colorscheme plan9

    If you have a true-colour terminal you can add `set

termguicolors above colorscheme plan9` to not rely on the
terminal’s colour palette.

  1. cd to wherever the colourscheme has been installed. If you
    are using vim-plug this is most likely here:

    $ cd ~/.vim/plugged/vim-plan9/
  2. Run the script in the terminfo/ directory:

    $ bash terminfo/runtic.sh
  3. Set your terminal emulator to use xterm-256color-italic

    • Or tmux-256color-italic if you’re using tmux)
  4. Set your terminal emulator’s colours to those in the [Palette
    section][palettesec]

    • If you have a true-colour terminal and are using
      termguicolors this is not necessary, but still recommended
    • If you want to theme your terminal with vim-plan9’s colours a
      foreground of #000000 and a background of either:

      • #ffffeb · the cream colour background that this vim theme
        uses, good for making the editor and the terminal merge
      • Or #ffffff · pure white, allowing for [easy context
        switching][cdm] between editor and shell, higher contrast,

      and more closely matching what Plan9 actually looks like

    • This can be all automated by using one of the included colour
      themes (found in termthemes/) for both Terminal.app and

    iTerm2

  5. Make sure your terminal emulator is set to not show bold in a
  6. color

    • This is located for iTerm2: Preferences > Profiles > Colors >
      Uncheck ‘Bold’ under ‘Background’
    • Terminal.app: Preferences > Profiles > Text > Text > Uncheck
      ‘Use bright colours for bold text’
  7. Close and open your terminal emulator
  8. For best results ensure your terminal emulator’s font has a
  9. italic style

    really nice with this colourscheme

    • Yes, I’m obsessed with colourschemes, fonts, and *pairings
      of* colourschemes and fonts
  10. Done!

Palette

IntensityNormalIntensityBright
0#0000008#878781
1#ad4f4f9#ffdddd
2#46874710#ebffeb
3#8f773411#edeea5
4#268bd212#ebffff
5#888aca13#96d197
6#6aa7a814#a1eeed
7#f3f3d315#ffffeb
Foreground colour#000000Background colour#ffffeb

<!-- Link references -->

添加新评论