:maple_leaf: Comfortable & Pleasant Color Scheme for Vim
Vim Script
247
24 commits
updated Nov 18, 2021
Ruby on Rails

Html

Javascript

Sass

Take vim-plug for example:
Plug 'franbach/miramare'
For better syntax highlighting support, please install sheerun/vim-polyglot.
Add packloadall to your .vimrc (if you haven't already):
.vimrc:
packloadall
Clone miramare into your ./vim/pack/plugins/start directory:
mkdir -p ~/.vim/pack/plugins/start
git clone https://github.com/franbach/miramare.git ~/.vim/pack/plugins/start/miramare
/path/to/miramare/colors/miramare.vim to ~/.vim/colors/miramare.vim/path/to/miramare/autoload/airline/themes/miramare.vim to ~/.vim/autoload/airline/themes/miramare.vimPut 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 = 1
colorscheme 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):
:colorscheme miramare
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 1 to enable transparent background.
0, 10g:miramare_enable_italic_string: Set to 1 to enable italic in String .
0, 10g:miramare_disable_italic_comment: Set to 1 to disable italic in Comment .
0, 10g:miramare_enable_italic: Set to 1 to italicize keywords. This option is designed to use with fonts that support cursive italic styles, for example Fira Code iCursive Op.
0, 10g:miramare_enable_bold: Set to 1 to enable bold in Type, Function, Constant .
0, 11g: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:palette in ./colors/miramare.vim
let g:miramare_palette = {'light_grey': ['#c0c0c0', '245', 'LightGrey']}Q: It doesn't work as expected.
A:
set termguicolors is 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 = 1let g:miramare_disable_italic_comment = 1MIT © franbach
Vim Script
100.0%
:maple_leaf: Comfortable & Pleasant Color Scheme for Vim
Vim Script
247
24 commits
updated Nov 18, 2021
Ruby on Rails

Html

Javascript

Sass

Take vim-plug for example:
Plug 'franbach/miramare'
For better syntax highlighting support, please install sheerun/vim-polyglot.
Add packloadall to your .vimrc (if you haven't already):
.vimrc:
packloadall
Clone miramare into your ./vim/pack/plugins/start directory:
mkdir -p ~/.vim/pack/plugins/start
git clone https://github.com/franbach/miramare.git ~/.vim/pack/plugins/start/miramare
/path/to/miramare/colors/miramare.vim to ~/.vim/colors/miramare.vim/path/to/miramare/autoload/airline/themes/miramare.vim to ~/.vim/autoload/airline/themes/miramare.vimPut 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 = 1
colorscheme 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):
:colorscheme miramare
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 1 to enable transparent background.
0, 10g:miramare_enable_italic_string: Set to 1 to enable italic in String .
0, 10g:miramare_disable_italic_comment: Set to 1 to disable italic in Comment .
0, 10g:miramare_enable_italic: Set to 1 to italicize keywords. This option is designed to use with fonts that support cursive italic styles, for example Fira Code iCursive Op.
0, 10g:miramare_enable_bold: Set to 1 to enable bold in Type, Function, Constant .
0, 11g: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:palette in ./colors/miramare.vim
let g:miramare_palette = {'light_grey': ['#c0c0c0', '245', 'LightGrey']}Q: It doesn't work as expected.
A:
set termguicolors is 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 = 1let g:miramare_disable_italic_comment = 1MIT © franbach
Vim Script
100.0%