Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.11 KB

README.md

File metadata and controls

46 lines (38 loc) · 1.11 KB

Mitra-Vim

A colorscheme based on the Persian color palette.
The persian palette, is the collection of colors that are usually found in various traditional Persian arts and crafts
for more information, see here.

Setup

Your TERM variable must report xterm-256color. Use a true color (termgui) capable terminal.
Proper settings in ~/.vimrc are also needed.

set background=dark

if &term =~ '256color'
	if has('termguicolors')
		let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
		let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
		set termguicolors
		colorscheme Mitra
	endif
endif

Installation

Plug

Plug 'wolandark/Mitra-Vim'

Lazy

{
	"wolandark/Mitra-Vim",
	-- optional: activate colorscheme
	config = function()
		vim.cmd.colorscheme('Mitra')
	end
},

or use your favorite plugin manager.

PR & issues are welcomed

Made with the excellent vim-rnb