vim-theme-papaya


Ⅰ. 插件描述

A dark theme for Vim specifically made to focus your attention on the important things.

Ⅱ. 基本信息

创建日期:  2018-04-17
使用用户:  13
Github星:  15
插件作者:  Henry

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# "Papaya" Theme for Vim

<p align="center">
256-color & 24-bit truecolor support
</p>

Example within a C++ file:

drag

Example within an HTML file:

drag


Installation

Vim Plug or other plugin managers:
Open your vim.rc files, and within the area of adding plugins, add
Plug: 'HenryNewcomer/vim-theme-papaya'.

Now scroll down past the plug#end() area and add:
colorscheme papaya

If using another plugin manager, such as Vundle, the steps are appropriately
similar for the first part. The second part is the same. Just reference your
plugin manager's manual for further assistance on what syntax to use for
automatically installing plugins.

Manual Installation

Linux/Mac OS) If on a Unix-based OS, simply clone/save this and place it in your
~/.vim/colors/ directory (assuming you haven't changed this path).

Next, open, your .vimrc file and add:
colorscheme papaya

Note that if you have a plugin manager and are using the manual installation,
you will most likely have to add the three commands after your plugin's closing

  1. For example, if using Vim Plug, you'd add the lines after plug#end().

If your terminal has truecolor support, add the following to your .vimrc

  1. Alternatively, if you're using gvim, you shouldn't have to add this.
    This theme supports terminals with 256-color support, but was designed for

truecolor.

if (has("termguicolors"))
  set termguicolors
endif

Alternative Color Scheme - Papaya: Blue

While this theme is still a work-in-progress, I've made a version that
is more "blue-oriented," compared to the standard purple Papaya theme.
For anyone wishing to use the blue version, open your vimrc. Instead of
colorscheme papaya put:

colorscheme papaya
let g:papaya_gui_color='blue'

Most of the colors will be shared bewteen the different Papaya themes,
hence why I'm not making the blue one it's own separate theme. Also note
that this blue version is only for terminals that support truecolor. There
aren't enough color variations to properly do the theme justice on 256-color
terminals.


Since I plan to continue updating this theme in an effort to help support
additional filetypes, I've kept a copy of the original Papaya theme in
case anyone wants it. To use it, instead of putting colorscheme papaya
in your .vimrc file, put colorscheme papaya_original


Feel free to check out my other themes:


I haven't tested this theme using every language that Vim supports, but most of
the more popular ones should look good. If you notice any oddities or have any
questions or suggestions, feel free to e-mail me at a.cliche.email@gmail.com

Otherwise, you're more than welcome to make a topic in the Issues tab if you
prefer.

*This project is licensed under the MIT License. Feel free to use and distribute
it.*

添加新评论