Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wolandark/mitra-vim
- Owner: wolandark
- Created: 2023-10-11T04:29:38.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-24T05:36:20.000Z (5 months ago)
- Last Synced: 2024-06-24T06:44:26.078Z (5 months ago)
- Topics: nvim, nvim-plugin, rnb, vim, vim-colorscheme, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 76.2 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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=darkif &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)