vim-colors-sketching


Ⅰ. 插件描述

A minimal light colorscheme for Vim/Neovim

Ⅱ. 基本信息

创建日期:  2018-01-25
使用用户:  7
Github星:  19
插件作者:  Vu Le

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/thenewvu/vim-colors-sketching

Ⅳ. 文档说明

What's this?

A minimal light colorscheme for Vim/Neovim.

neovim-nvim-vim-colors-sketching-screenshot

In the screenshot:

  • The iterm2 color preset: PencilLight
  • The font: Script 12 Pitch PT
  • The buffer line: ap/vim-buftabline
  • The tmux theme: edkolev/tmuxline.vim with below configs:

    let g:tmuxline_powerline_separators = 0
    let g:tmuxline_theme = 'vim_statusline_1'
    let g:tmuxline_preset = {
      \ 'win': '#W',
      \ 'cwin': '#W#F',
      \ 'options': {
      \   'status-justify': 'left'}
      \}

Requirements

  • set termguicolors in your .vimrc: Read
    this to check if your terminal

emulator supports it or not

Installation

If you use vim-plug, do something like this in your .vimrc.

Plug 'thenewvu/vim-colors-sketching' 
set rtp+=~/.vim/plugged/vim-colors-sketching
colorscheme sketching

For other plugin managers, please follow their guide.

Suggestions

This colorscheme works very well with vim-gigutter. You can see the above screenshot. For other VCS (version control system), you can use vim-signify. Below is my configurtion for vim-gitgutter, just for example:

Plug 'airblade/vim-gitgutter'
let g:gitgutter_highlight_lines = 1
hi link GitGutterAdd DiffAdd
hi link GitGutterChange DiffChange
hi link GitGutterDelete DiffDelete
hi link GitGutterAddLine DiffAdd
hi link GitGutterChangeLine DiffChange
hi link GitGutterDeleteLine Normal
hi link GitGutterChangeDeleteLine DiffChange

Credits

License

MIT.

添加新评论