Sobrio for Vim

A theme with sober colors, hence the name

This is a theme for Vim, 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 VIM colors directory, usually ~/.vim/colors/
  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.


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.


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.


Setting it as your default

If you want to make it your default, just add this line to your .vimrc:

colorscheme sobrio

Screenshots

C++

cpp- screenshot

Cascading Style Sheets (CSS)

css- screenshot

Elixir

elixir- screenshot

HyperText Markup Language (HTML)

html- screenshot

JavaScript

js- screenshot

JavaScript Object Model (JSON)

json- screenshot

Markdown

markdown- screenshot

PHP

php- screenshot

Python

python- screenshot

Rust

rust- screenshot

Scalable Vector Graphics (SVG)

svg- screenshot

TypeScript

ts- screenshot

TypeScript/JavaScript Extended (JSX/TSX)

tsx- screenshot

YAML

yaml- screenshot