Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wolandark/mitra-vim

A soothingly colorful colorscheme based on the Persian color palette for vim/nvim
https://github.com/wolandark/mitra-vim

nvim nvim-plugin rnb vim vim-colorscheme vim-plugin

Last synced: 11 days ago
JSON representation

A soothingly colorful colorscheme based on the Persian color palette for vim/nvim

Awesome Lists containing this project

README

        

# 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](https://github.com/alijsh/persian-colors).



### Setup
Your `TERM` variable must report `xterm-256color`. Use a true color (termgui) capable terminal.

Proper settings in `~/.vimrc` are also needed.

``` vim
set background=dark

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

### Installation
#### Plug
``` lua
Plug 'wolandark/Mitra-Vim'
```
#### Lazy
``` lua
{
"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](https://github.com/romainl/vim-rnb)