Ⅰ. 插件描述A dark theme for Vim specifically made to focus your attention on the important things.
:source % :PluginInstall
对于Vundle版本 < 0.10.2，请用上面的Bundle替换Plugin。
:source % :NeoBundleInstall
:source % :PlugInstall
cd ~/.vim/bundle git clone https://github.com/henrynewcomer/vim-theme-papaya
# "Papaya" Theme for Vim
256-color & 24-bit truecolor support
Example within a C++ file:
Example within an HTML file:
Vim Plug or other plugin managers:
vim.rc files, and within the area of adding plugins, add
Now scroll down past the
plug#end() area and add:
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.
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:
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
- For example, if using Vim Plug, you'd add the lines after
If your terminal has truecolor support, add the following to your .vimrc
- 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
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
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
in your .vimrc file, put
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 email@example.com
Otherwise, you're more than welcome to make a topic in the Issues tab if you
*This project is licensed under the MIT License. Feel free to use and distribute