:maple_leaf: Comfortable & Pleasant Color Scheme for Vim
Ruby on Rails
Html
Javascript
Sass
Take vim-plug for example:
vim Plug 'franbach/miramare'For better syntax highlighting support, please install sheerun/vim-polyglot.
/path/to/miramare/colors/miramare.vimto
~/.vim/colors/miramare.vim
/path/to/miramare/autoload/airline/themes/miramare.vimto
~/.vim/autoload/airline/themes/miramare.vim
Put this in your vimrc:
" important!! set termguicolors" the configuration options should be placed before
colorscheme miramare
let g:miramare_enable_italic = 1 let g:miramare_disable_italic_comment = 1colorscheme miramare
See Configuration for more options.
If you want to apply this color scheme temporarily, run this command in vim(this may cause color broken):
vim :colorscheme miramareAirline
To enable airline color scheme, put this in your vimrc:
let g:airline_theme = 'miramare'
To apply it without reloading:
:AirlineTheme miramare
Note: The configuration options should be placed before
colorscheme miramare.
g:miramare_transparent_background: Set to
1to enable transparent background.
0,
1
0
g:miramare_enable_italic_string: Set to
1to enable italic in
String.
0,
1
0
g:miramare_disable_italic_comment: Set to
1to disable italic in
Comment.
0,
1
0
g:miramare_enable_italic: Set to
1to italicize keywords. This option is designed to use with fonts that support cursive italic styles, for example Fira Code iCursive Op.
0,
1
0
g:miramare_enable_bold: Set to
1to enable bold in
Type,
Function,
Constant.
0,
1
1
g:miramare_cursor: Customize the cursor color, only works in GUI clients.
'auto',
'red',
'green',
'blue',
'purple'
'auto'
g:miramare_current_word: Some plugins can highlight the word under current cursor(for example neoclide/coc-highlight), you can use this option to control their behavior.
'bold',
'underline',
'italic',
'grey background'
'grey background'when not in transparent mode,
'bold'when in transparent mode.
g:miramare_palette: overwrite colors - see
s:palettein ./colors/miramare.vim
let g:miramare_palette = {'light_grey': ['#c0c0c0', '245', 'LightGrey']}
Q: It doesn't work as expected.
A:
set termguicolorsis required. Check output of
vim --version, maybe your vim doesn't support
termguicolors.
Q: Which font am I using?
A:
let g:miramare_enable_italic = 1
let g:miramare_disable_italic_comment = 1
MIT © franbach