Skip to content

elvessousa/sobrio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sobrio theme

Screen shot

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:

  1. Copy the colors/sobrio.vim file to your colors directory, usually ~/.config/nvim/colors/ for Neovim or ./vim/colors/ for Vim.
  2. Set the color scheme: :colorscheme sobrio.
  3. ???
  4. 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

HTML

JavaScript / Typescript

JavaScript

React

JavaScript

CSS

CSS

SCSS

SCSS

Sass

Sass

SVG

SVG

YAML

YAML

JSON

JSON

Python

Python

PHP

PHP

Elixir

Elixir

Rust

Rust

C++

C++

Airline theme

Normal Insert Visual Command Replace

Installation

  1. Copy the ./autoload/airline/themessobrio.vim file to your NVIM airline themes directory, usually ~/.config/nvim/autoload/airline/themes/
  2. 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!