Ⅰ. 插件描述
Material theme for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jdkanani/vim-material-theme'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jdkanani/vim-material-theme'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jdkanani/vim-material-theme'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jdkanani/vim-material-theme
Ⅳ. 文档说明
# material-theme
Material theme for vim
Based on Sublime Text 3 Material theme by @equinusocio

Installation
Option 1: Manual installation
Move
material-theme.vimto your.vim/colorsdirectory. After downloading the
vim script or package:$ mv colors/material-theme.vim ~/.vim/colors/
Option 2: Pathogen installation (recommended)
- Download and install Tim Pope's [Pathogen].
Next, move or clone the
vim-material-themedirectory so that it is a subdirectory of the.vim/bundledirectory.$ cd ~/.vim/bundle $ git clone https://github.com/jdkanani/vim-material-theme
Modify .vimrc
After either Option 1 or Option 2 above, put the following two lines in your
.vimrc:
syntax enable
set background=dark
colorscheme material-theme
or, for the light background mode of Material Theme:
syntax enable
set background=light
colorscheme material-theme