sobrio
sobrio copied to clipboard
Sobrio is a theme for [Neo]Vim with sober colors.
Sobrio theme
About this theme
This is a theme for Vim and Neovim, with sober colors (at least for me), hence the name. It has support for italic fonts, too. The font used in the screenshots is Victor Mono. At the moment, I only tested it in Neovim, but I think it should work with Vim as well. For the best experience, make sure your terminal supports at least 256 colors.
Manual installation
To use it, follow these steps:
- Copy the
colors/sobrio.vim
file to your colors directory, usually~/.config/nvim/colors/
for Neovim or./vim/colors/
for Vim. - Set the color scheme:
:colorscheme sobrio
. - ???
- Profit!
Using Vim-Plug
Add this repo in the Vim-Plug section of your config file:
call plug#begin()
Plug 'elvessousa/sobrio'
call plug#end()
After sourcing the file (or restarting the editor), run :PlugInstall
and restart Vim/Neovim.
Using Vundle
Add this repo in the Vundle section of your config file:
call vundle#begin()
Plugin 'elvessousa/sobrio'
call vundle#end()
After sourcing the file (or restarting the editor), run :PluginInstall
and restart Vim/Neovim.
Using NeoBundle
Add this repo in the Vundle section of your config file:
call neobundle#begin()
NeoBundleFetch 'elvessousa/sobrio'
call neobundle#end()
After sourcing the file (or restarting the editor), run :NeoBundleInstall
and restart Vim/Neovim.
Setting it as your default
If you want to make it your default, just add this line to your init.vim
or .vimrc
:
colorscheme sobrio
Screenshots
HTML
JavaScript / Typescript
React
CSS
SCSS
Sass
SVG
YAML
JSON
Python
PHP
Elixir
Rust
C++
Airline theme
Installation
- Copy the
./autoload/airline/themessobrio.vim
file to your NVIM airline themes directory, usually~/.config/nvim/autoload/airline/themes/
- Set the color scheme:
:AirlineTheme sobrio
.
Setting it as your default
If you want to make your default Airline theme, add this to your init.vim
:
let g:airline_theme='sobrio'
Take care!