Ⅰ. 插件描述
Port of the dark purple intellij themeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'shapeoflambda/dark-purple-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'shapeoflambda/dark-purple-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'shapeoflambda/dark-purple-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/shapeoflambda/dark-purple.vim
Ⅳ. 文档说明
# dark-purple.vim
A theme inspired from the dark purple intellij theme.
Installation
Pre-requisites
This is a true color color scheme and a terminal that supports true colors is required. Set termguicolors by adding set termguicolors in the .vimrc file.
Using Plugin Managers
Vim Plug
Plug 'shapeoflambda/dark-purple.vim'NeoBundle
NeoBundle 'shapeoflambda/dark-purple.vim'Using the Colorscheme
Add the following lines to the ~/.vimrc
syntax enable
colorscheme dark_purpleLightline theme
There's also a lightline theme that goes well with this theme. To use it, add the following to your .vimrc
call plug#begin('~/.vim/plugged')
Plug 'shapeoflambda/dark-purple.vim'
Plug 'itchyny/lightline.vim'
call plug#end()
syntax enable
set termguicolors
" Always show lightline
set laststatus=2
let g:lightline = {
\ 'colorscheme': 'dark_purple',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ ['readonly', 'filename', 'modified' ] ],
\ 'right': [ [ 'lineinfo' ],
\ [ 'filetype' ],
\ [ 'gitbranch'] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'fugitive#head'
\ },
\ }
colorscheme dark_purpleMake sure lightline is loaded after the theme is loaded.
Screenshot

| Terminal | Alacritty |
|---|---|
| Font-Regular | Fira code |
| Font-Italic | Operator Mono |
| File/Syntax | go |
Lightline theme

Contributing
This is my first time creating a vim colorscheme, so, I'm sure it's not going to be perfect. Please send pull requests for missing features or bug fixes, I'll be more than happy to merge it in.