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.
- 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!
- 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
:If you have a true-colour terminal you can addcolorscheme plan9
set termguicolors
abovecolorscheme plan9
to not rely on the terminal’s colour palette. cd
to 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.sh
- Set your terminal emulator to use
xterm-256color-italic
- Or
tmux-256color-italic
if you’re using tmux)
- Or
- Set your terminal emulator’s colours to those in the Palette
section
- 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 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
- If you have a true-colour terminal and are using
- Make sure your terminal emulator is set to not show bold in a
bright 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’
- Close and open your terminal emulator
- For best results ensure your terminal emulator’s font has a
dedicated 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
- Done!
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 |