Vim Script MIT

vim-pink-moon

A vim/neovim colorscheme

S

sts10

Dernière activité 31 déc. 2025
sts10/vim-pink-moon

231

étoiles

11

forks

1

issues ouvertes

color-schemecolorschemeneovimvim

Ce README est souvent en anglais.

Pink Moon, a colorscheme for Vim/Neovim

A screenshot of some Rust code, as color-highlighted by the Pink Moon colorscheme, using the font Jetbrains Mono

A screenshot of some HTML and CSS, as color-highlighted by the Pink Moon colorscheme, using the font DejaVu Sans Mono

Installation

Option 1: Install via a plugin manager, like vim-plug

  1. Add Plug 'sts10/vim-pink-moon' as a plugin in your Vim config file (either vimrc or init.vim if using Neovim)
  2. Run :PlugInstall
  3. Put colorscheme pink-moon in your Vim config file. vim-pink-moon should run set background=dark for you, but you can put it in your config file as well.

A similar procedure should work with other plugin managers.

Option 2: Manual installation (assuming you're using Vim, as opposed to Neovim)

  1. Download the colorscheme: curl -O https://raw.githubusercontent.com/sts10/vim-pink-moon/master/colors/pink-moon.vim
  2. Move the colorscheme to ~/.vim/colors: mkdir -p ~/.vim/colors & mv pink-moon.vim ~/.vim/colors/
  3. Put colorscheme pink-moon and set background=dark in your vimrc.

Fonts in screenshots

The fonts in the screenshots above and below are Deja Vu Sans Mono and JetBrains Mono.

Inspiration

I liked the vibe of this setup (which I found thanks to this Reddit post), though I ended up picking most, if not all, of the colors independently. Not a lot of science involved!

Troubleshooting (Getting true HEX colors)

Vim-Pink-Moon has HEX color codes in it, so it works well with GUI versions of Vim (including MacVim), as well as terminals that have true color support (like iTerm2 for macOS).

If you're using Neovim and macOS and having trouble getting the colors in the screenshot above to appear for you, I've got a blog post explaining how to get HEX colors in iTerm2 using Neovim. I also later wrote a separate blog post about troubleshooting HEX colors with regular terminal Vim + iTerm.

Further troubleshooting

Try re-ordering these settings in your Vim config file (e.g. vimrc) to the following

set termguicolors
colorscheme pink-moon
set background=dark

For help from another source, check the gruvbox wiki.

Slack Theme

If you want to make your Slack theme match Pink Moon, go to Preferences > Sidebar > Theme, scroll down to "Custom Theme", and paste in #333C47,#434852,#6F98B3,#F0FDFF,#434852,#F0FDFF,#D08785,#D08785.

More screenshots

A screenshot of some Ruby code, as color-highlighted by the Pink Moon colorscheme, using the font JetBrains Mono

A screenshot of some Ruby code, as color-highlighted by the Pink Moon colorscheme, using the font DejaVu Sans Mono

Projets similaires

An ambitious theme for vim

Vim Scriptcolorschmeneovimsyntax-highlighting
Eembark-theme
733 étoiles31

🍨 Soothing pastel theme for Neovim

Luacatppuccincolorschemehacktoberfest
Ccatppuccin
7,6 k étoiles337

A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.

Vim Scriptcolorschemedark-syntax-themelightline
Jjoshdick
4 k étoiles507