vim-pink-moon


Ⅰ. 插件描述

A vim/neovim colorscheme

Ⅱ. 基本信息

创建日期:  2017-11-09
使用用户:  26
Github星:  34
插件作者:  Sam Schlinkert

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Pink Moon, a colorscheme for Vim/Neovim

Pink Moon, iTerm2, Neovim, Ruby

Pink Moon, iTerm2, Neovim, HTML and CSS

Installation

Option 1: Install via plugin manager 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.

(A similar procedure should work with other plugin managers.)

Option 2: Manual installation

  1. Clone or download this repo.
  2. Move colors/pink-moon.vim into your ~/.vim/colors directory.
  3. Put colorscheme pink-moon and set background=dark in your vimrc.

The font in the screenshots above is Deja Vu Sans Mono

Process/Inspiration

I'm still tweaking with this colorscheme quite a bit, so apologies if you liked an older version more. An older version is saved in this repo as yellow-moon. Also, feel free to submit issues and pull requests.

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.

Getting True HEX Colors

Vim-Pink-Moon has HEX color codes in it, so it works well with GVim (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 with 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 will regular terminal Vim + iTerm.

Slack Theme

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

添加新评论