Ⅰ. 插件描述
Dim (/dɪm/; a contraction of Default IMproved) is a clone of Vim’s default colorscheme, with some improvements.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jeffkreeftmeijer/vim-dim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jeffkreeftmeijer/vim-dim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jeffkreeftmeijer/vim-dim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jeffkreeftmeijer/vim-dim
Ⅳ. 文档说明
# Dim
Dim (/dɪm/; a contraction of Default IMproved) is a clone of Vim’s default colorscheme, with some improvements:
- It only uses [ANSI colors], so you can assign colors in your terminal emulator yourself
- Syntax highlighting is consistent on light and dark backgrounds
Comparison
colorscheme default | colorscheme dim | |
|---|---|---|
| [wwdc16.terminal] | ![wwdc16 dark with Vim's default color scheme]![wwdc16 light with Vim's default color scheme] | ![wwdc16 dark with Dim]![wwdc16 light with Dim] |
| [appsignal.terminal] | ![appsignal dark with Vim's default color scheme]![appsignal light with Vim's default color scheme] | ![appsignal dark with Dim]![appsignal light with Dim] |
| Dimmed comments, line numbers, folds, color columns and completion menus. | ![Comments and line numbers in Vim's default color scheme] | ![Comments and line numbers in the Dim color scheme] |
| Inverted selections | ![Selections in Vim's default color scheme] | ![Selections in the Dim color scheme] |
| Clear diff coloring | ![Diff coloring in Vim's default color scheme] | ![Diff coloring in the Dim color scheme] |