GitHub - chuling/vim-equinusocio-material: Equinusocio's material theme...
source link: https://github.com/chuling/vim-equinusocio-material
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.
Equinusocio's material theme for Neovim/Vim
This theme was ported from equinusocio/vsc-material-theme.
Try this theme if others don't meet your needs.
Preview
Darker
Default
Note that syntax highlighting for brackets/parentheses in screenshots was enhanced by luochen1990/rainbow, you may like to install it manully.
How to use
IMPORTANT: True colors are required for vim in terminal
- vim-plug
Plug 'chuling/equinusocio-material.vim' " true colors are required for vim in terminal set termguicolors " use a different style " valid values: 'default' (default), 'darker', 'pure' let g:equinusocio_material_style = 'pure' " less bright " which means some colors will be modified by this formula: " (r, g, b) -> ( max(r - less, 0), max(g - less, 0), max(b - less, 0) ) let g:equinusocio_material_less = 50 " make vertsplit invisible (visible by default) (default 0) " if style == 'pure', then the vertsplit is always visible let g:equinusocio_material_hide_vertsplit = 1 " parentheses improved (default 0) " enabling this option with 'luochen1990/rainbow' installed is not encouraged " because this option and 'luochen1990/rainbow' will registry conflicting events " in summary: " 1. no 'luochen1990/rainbow' installed, no parentheses improved: nothing to do (default 0) " 2. no 'luochen1990/rainbow' installed, want built-in parentheses improved: set to 1 " 3. 'luochen1990/rainbow' installed: nothing to do (default 0) let g:equinusocio_material_bracket_improved = 1 " use a better vertsplit char set fillchars+=vert:│ colorscheme equinusocio_material " this theme has a buildin lightline/airline theme let g:airline_theme = 'equinusocio_material' let g:lightline = { \ 'colorscheme': 'equinusocio_material', \ }
Fix problem while updating
If experiencing problems with tmux you are, please make sure that tmux is configured properly to support true color. For example, if the $TERM
variable equals xterm-256color
, these lines should be added into ~/.tmux.conf
:
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -g default-terminal "${TERM}"
set -ga terminal-overrides ",${TERM}:Tc"
Other
If using iterm you are, please try this color preset chuling/iterm2-equinusocio-material.
It's also available here: term
License
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK