61

GitHub - thenewvu/vim-colors-sketching: A minimal light colorscheme for Vim/Neov...

 6 years ago
source link: https://github.com/thenewvu/vim-colors-sketching
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

What's this?

A minimal light colorscheme for Vim/Neovim.

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK