Ⅰ. 插件描述
A colourscheme inspired by https://github.com/plan9-for-vimspace/acme-colorsⅡ. 基本信息
|
Ⅲ. 安装方法
使用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
- Install how you would install any other plugin
- Remove all colourscheme-related config from your
vimrc Add this to the very bottom of the
vimrc:colorscheme plan9- Done!
Terminal
- Install how you would install any other plugin
- Remove all colourscheme-related config from your
vimrc Add this to the very bottom of the
vimrc:colorscheme plan9If you have a true-colour terminal you can add `set
termguicolors above colorscheme plan9` to not rely on the
terminal’s colour palette.
cdto wherever the colourscheme has been installed. If you
are using vim-plug this is most likely here:$ cd ~/.vim/plugged/vim-plan9/Run the script in the
terminfo/directory:$ bash terminfo/runtic.shSet your terminal emulator to use
xterm-256color-italic- Or
tmux-256color-italicif you’re using tmux)
- Or
Set your terminal emulator’s colours to those in the [Palette
section][palettesec]- If you have a true-colour terminal and are using
termguicolorsthis is not necessary, but still recommended If you want to theme your terminal with vim-plan9’s colours a
foreground of#000000and 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 intermthemes/) for both Terminal.app and
iTerm2
- If you have a true-colour terminal and are using
- Make sure your terminal emulator is set to not show bold in a
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’
- This is located for iTerm2: Preferences > Profiles > Colors >
- Close and open your terminal emulator
- For best results ensure your terminal emulator’s font has a
italic style
- Nexus Typewriter, Operator Mono,
Iosevka, and Lucida Console all look
really nice with this colourscheme
- Yes, I’m obsessed with colourschemes, fonts, and *pairings
of* colourschemes and fonts
- Nexus Typewriter, Operator Mono,
- Done!
Palette
| Intensity | Normal | Intensity | Bright |
|---|---|---|---|
| 0 | #000000 | 8 | #878781 |
| 1 | #ad4f4f | 9 | #ffdddd |
| 2 | #468747 | 10 | #ebffeb |
| 3 | #8f7734 | 11 | #edeea5 |
| 4 | #268bd2 | 12 | #ebffff |
| 5 | #888aca | 13 | #96d197 |
| 6 | #6aa7a8 | 14 | #a1eeed |
| 7 | #f3f3d3 | 15 | #ffffeb |
| Foreground colour | #000000 | Background colour | #ffffeb |
<!-- Link references -->