Home

Awesome

<p align="center"> <img src="https://raw.githubusercontent.com/franbach/miramare/master/screen/logo.png" alt="Miramar Vim Theme"/> </p>

Ruby on Rails

Ruby

Html

Html

Javascript

JavaScript

Sass

Sass

Features

Installation

Via Plugin Manager

Take vim-plug for example:

Plug 'franbach/miramare'

For better syntax highlighting support, please install sheerun/vim-polyglot.

Vim 8 packages

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

Manually

  1. Clone this repository.
  2. Copy /path/to/miramare/colors/miramare.vim to ~/.vim/colors/miramare.vim
  3. To install airline theme, copy /path/to/miramare/autoload/airline/themes/miramare.vim to ~/.vim/autoload/airline/themes/miramare.vim

Usage

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 = 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

Airline

To enable airline color scheme, put this in your vimrc:

let g:airline_theme = 'miramare'

To apply it without reloading:

:AirlineTheme miramare

Configuration

Note: The configuration options should be placed before colorscheme miramare .

FAQ

Q: It doesn't work as expected.

A:

  1. This color scheme is mainly designed for true colors, set termguicolors is required. Check output of vim --version, maybe your vim doesn't support termguicolors.
  2. Maybe your terminal emulator doesn't support true colors, you can test it using this script.
  3. If you are running vim in tmux, you need to override default true colors of tmux, as tmux cannot display true colors properly: #1246 How to use true colors in vim under tmux?
  4. There are many highlight group links in syntax files while a color scheme may change them, enabling one color scheme based on another color scheme enabled is very likely to cause colors to break. If any color is broken, you can enable the color scheme in your vimrc instead of after vim startup.

Q: Which font am I using?

A:

  1. JetBrains Mono Medium (Patched - Nerd Fonts) Jetbrains.
  2. Enable italic keywords in this color scheme: let g:miramare_enable_italic = 1
  3. Disable italic comment(optional): let g:miramare_disable_italic_comment = 1

Inspirations

THANKS

License

MIT © franbach